diff --git a/lib/ui/pages/home.dart b/lib/ui/pages/home.dart index 97bc760..5d705c9 100644 --- a/lib/ui/pages/home.dart +++ b/lib/ui/pages/home.dart @@ -153,21 +153,38 @@ Container _buildMenuCards() => Container( @widget Drawer _buildDrawer() => Drawer( - child: ListView( + child:new ListView( children: [ DrawerHeader( - child: Text('Custom Header'), + child: new ListView(children: [ + new UserAccountsDrawerHeader(accountName: Text("Name"), accountEmail: Text("email@mail.com"), + currentAccountPicture: new CircleAvatar( + backgroundColor: Colors.grey, + child:new Text("P"), + ),)],), decoration: BoxDecoration( color: Colors.blue, ), ), + ListTile( - leading: Icon(Icons.photo), + //without leading =) + leading: Icon(Icons.photo), title: Text('First layout'), ), ListTile( - title: Text('Communicate'), //without leading =) + leading: Icon(Icons.accessibility), + title: Text('Second layout'), + ), + ListTile( + //without leading =) + leading: Icon(Icons.add_circle_outline), + title: Text('Third layout'), + ), + new Divider(), + ListTile( + title: Text('Communicate'), ), ListTile( leading: Icon(Icons.share),