diff --git a/lib/main.dart b/lib/main.dart index 57259a64..9ebe5a66 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -70,6 +70,30 @@ class _MyHomePageState extends State { // Here we take the value from the MyHomePage object that was created by // the App.build method, and use it to set our appbar title. title: Text(widget.title), + /* + leading: IconButton( + icon: Icon(Icons.menu), + tooltip: "Menu", + onPressed: null, + ) + */ + ), + drawer: new Drawer( + child: new ListView( + children: [ + new ListTile( + leading: new Image.asset("assets/image/icon.png", + fit: BoxFit.scaleDown, + ), + title: new Text("InvenTree"), + ), + new Divider(), + new ListTile( + title: new Text("Log In"), + leading: new Icon(Icons.security), + ), + ], + ) ), body: Center( // Center is a layout widget. It takes a single child and positions it