diff --git a/lib/pages/splash_page.dart b/lib/pages/splash_page.dart index 7f44715..0044bf4 100644 --- a/lib/pages/splash_page.dart +++ b/lib/pages/splash_page.dart @@ -12,6 +12,7 @@ class SplashPage extends StatefulWidget { class _SplashPageState extends State { late final Future loginFuture; + int currentPageIndex = 0; @override void initState() { @@ -50,14 +51,29 @@ class _SplashPageState extends State { bottomNavigationBar: BottomNavigationBar( items: const [ BottomNavigationBarItem( - icon: Icon(Icons.settings), - label: 'Settings', - ), - BottomNavigationBarItem( - icon: Icon(Icons.home), + icon: Icon( + Icons.home, + color: Colors.white, + ), label: 'Home', ), + BottomNavigationBarItem( + icon: Icon( + Icons.add_rounded, + color: Colors.white, + ), + label: 'Add', + ), + BottomNavigationBarItem( + icon: Icon( + Icons.auto_awesome_rounded, + color: Colors.white, + ), + label: 'Events', + ), ], + currentIndex: currentPageIndex, + onTap: (index) => setState(() => currentPageIndex = index), ), ); }