Move less used options to the bottom of the menu

This commit is contained in:
Roland Geider
2020-12-06 22:47:18 +01:00
parent 3160e2cc0f
commit f1533b4b8d

View File

@@ -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',