So I am wanting to change the header height of the drawer, as my intention for the drawer to be a settings page. But at the moment it is to thick. How would I do this. This is my sample code so far:
return Drawer(
child: ListView(
padding: EdgeInsets.zero,
children: <Widget>[
DrawerHeader(
child: Text('Settings'),
),
]
)
);
You can Wrap Your Widget with Container.
Container(
height: 50.0,
child: DrawerHeader(
child: Text('Setting'),
),
),
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With