simple Navigation

This commit is contained in:
Nopylacetat
2023-10-20 20:01:27 +02:00
parent faf3ff623b
commit 5d31cd8e22

View File

@@ -37,8 +37,8 @@ class _SplashPageState extends State<SplashPage> {
if (DbHelper.currentUser == null) { if (DbHelper.currentUser == null) {
return const LoginPage(); return const LoginPage();
} }
return const Scaffold( return Scaffold(
body: Column( body: const Column(
children: [ children: [
Text('Logged in!'), Text('Logged in!'),
TextButton( TextButton(
@@ -47,6 +47,18 @@ class _SplashPageState extends State<SplashPage> {
), ),
], ],
), ),
bottomNavigationBar: BottomNavigationBar(
items: const <BottomNavigationBarItem>[
BottomNavigationBarItem(
icon: Icon(Icons.settings),
label: 'Settings',
),
BottomNavigationBarItem(
icon: Icon(Icons.home),
label: 'Home',
),
],
),
); );
} }
} }