Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 21 additions & 4 deletions lib/ui/pages/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -153,21 +153,38 @@ Container _buildMenuCards() => Container(

@widget
Drawer _buildDrawer() => Drawer(
child: ListView(
child:new ListView(
children: <Widget>[
DrawerHeader(
child: Text('Custom Header'),
child: new ListView(children: <Widget>[
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),
Expand Down