simple Navigation
This commit is contained in:
@@ -37,8 +37,8 @@ class _SplashPageState extends State<SplashPage> {
|
||||
if (DbHelper.currentUser == null) {
|
||||
return const LoginPage();
|
||||
}
|
||||
return const Scaffold(
|
||||
body: Column(
|
||||
return Scaffold(
|
||||
body: const Column(
|
||||
children: [
|
||||
Text('Logged in!'),
|
||||
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',
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user