drawer: Drawer(
child: Column(
children: <Widget>[
UserAccountsDrawerHeader(
decoration: BoxDecoration(color: Colors.red),
accountName: Text('him khy'),
accountEmail: Text('him.khynu@gmail.com'),
currentAccountPicture: Icon(
Icons.account_circle,
size: 50.0,
color: Colors.white,
),
),
ListTile(
leading: Icon(Icons.home),
title: Text("Home"),
onTap: (){},
),
ListTile(
leading: Icon(Icons.dashboard),
title: Text("Categories"),
onTap: (){},
),
Container(
width: MediaQuery.of(context).size.width,
height: 1.0,
child: Divider(
color: Colors.grey,
)),
ListTile(
leading: Icon(Icons.add_to_photos),
title: Text("Add Items"),
onTap: (){},
),
],
),
),
Comments
Post a Comment