diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 5844062..3284bac 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,8 +3,6 @@ - - @@ -23,8 +21,8 @@ - - + + @@ -243,7 +241,7 @@ - + @@ -332,8 +330,8 @@ - - + + diff --git a/lib/main.dart b/lib/main.dart index d76db64..f50158f 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -90,6 +90,22 @@ class _MyHomePageState extends State { // the App.build method, and use it to set our appbar title. title: new Text(widget.title), ), + drawer: new Drawer( + child: ListView( + children: [ + new DrawerHeader(child: Text("Menu")), + new ListTile( + leading: Icon(Icons.settings), + title: Text("Settings"), + ), + new AboutListTile( + applicationName: "Hass Client", + applicationVersion: "0.1", + applicationLegalese: "Keyboard Crumbs", + ) + ], + ), + ), body: ListView.builder( itemCount: entities.length, itemBuilder: (BuildContext context, int position) {