flutter appbar width

57

appBar: PreferredSize(
  preferredSize: Size.fromHeight(100.0),
  child: AppBar(
    automaticallyImplyLeading: false, // hides leading widget
    flexibleSpace: SomeWidget(),
  )
),
var height = AppBar().preferredSize.height;

Comments

Submit
0 Comments