resize DrawerHeader height in flutter code example
Example 1: DrawerHeader height flutter
Container(
height: 100,
child: DrawerHeader(
child: Text('Drawer Header'),
decoration: BoxDecoration(
color: Colors.black
),
),
);
Example 2: flutter drawer size
// wrap drawer with Container
drawer: Container(
width: 50,
child: Drawer(
child: ListView(
padding: EdgeInsets.zero,
children: <Widget>[
UserAccountsDrawerHeader(
accountName: Text('Test123'),
accountEmail: Text('[email protected]'),
ListTile(
title: Text('data'),
),
],
),
),
),