Skip to content

Commit

Permalink
main: Improve drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
tseli0s committed Dec 29, 2023
1 parent 9b0294c commit 1035f14
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,17 @@ class _HomepageState extends State<Homepage> {
),
),
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),
Expand Down

0 comments on commit 1035f14

Please sign in to comment.