From f1533b4b8ddb51184bd3eacaba720286d5dea5f6 Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Sun, 6 Dec 2020 22:47:18 +0100 Subject: [PATCH] Move less used options to the bottom of the menu --- lib/widgets/app_drawer.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/widgets/app_drawer.dart b/lib/widgets/app_drawer.dart index 63218b23..879de7f9 100644 --- a/lib/widgets/app_drawer.dart +++ b/lib/widgets/app_drawer.dart @@ -37,7 +37,6 @@ class AppDrawer extends StatelessWidget { title: Text('wger'), automaticallyImplyLeading: false, ), - Divider(), ListTile( leading: Icon(Icons.home), title: Text(AppLocalizations.of(context).labelDashboard), @@ -74,7 +73,9 @@ class AppDrawer extends StatelessWidget { }, ), Divider(), + Expanded(child: Container()), ListTile( + dense: true, leading: Icon(Icons.edit), title: Text('Options'), onTap: () { @@ -94,8 +95,8 @@ class AppDrawer extends StatelessWidget { ); }, ), - Divider(), ListTile( + dense: true, leading: Icon(Icons.exit_to_app), title: Text('Logout'), onTap: () { @@ -104,8 +105,8 @@ class AppDrawer extends StatelessWidget { Navigator.of(context).pushReplacementNamed('/'); }, ), - Divider(), AboutListTile( + dense: true, icon: Icon(Icons.info), applicationName: 'wger', applicationVersion: '0.0.1 alpha',