how to reduce drawer header size 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
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'),
),
],
),
),
),