flutter drawer custom size code example
Example: 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'),
),
],
),
),
),