From 1035f14c25f8b81dbd400bafb72c4f9054683864 Mon Sep 17 00:00:00 2001 From: Aggelos Tselios Date: Fri, 29 Dec 2023 13:38:00 +0200 Subject: [PATCH] main: Improve drawer --- lib/main.dart | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/main.dart b/lib/main.dart index 9c46ee4..3f8ae43 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -107,9 +107,17 @@ class _HomepageState extends State { ), ), drawer: Drawer( + elevation: 0.0, child: ListView( padding: const EdgeInsets.all(16), children: [ + DrawerHeader( + child: ListTile( + leading: Image.asset('assets/logo.png'), + title: TitleText(text: "FlText"), + subtitle: const Text("v0.1.0-pre"), + ), + ), ListTile( leading: const Icon(Icons.settings), title: Text(AppLocalizations.of(context)!.settings),