flutter status app bar height 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 get height of status bar
import 'dart:ui';
MediaQueryData.fromWindow(window).padding.top