how to get appbar height in flutter code example
Example 1: height appbar flutter
appBar: PreferredSize(
preferredSize: Size.fromHeight(100.0),
child: AppBar(
automaticallyImplyLeading: false, // hides leading widget
flexibleSpace: SomeWidget(),
)
),
Example 2: flutter how to find the appbar size
var height = AppBar().preferredSize.height;
Example 3: get appbar size flutter
var height = AppBar().preferredSize.height;
Example 4: get app bar size
MediaQuery.of(context).padding.top + kToolbarHeight