Answers for "flutter drawer size"

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'),
            ),
          ],
        ),
      ),
    ),
Posted by: Guest on October-13-2020

Browse Popular Code Answers by Language