Skip to content

Commit

Permalink
Bottom Bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Vedant Jain authored and Vedant Jain committed Oct 26, 2023
1 parent b1bf198 commit e02d977
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/screens/home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ class _HomeScreenState extends State<HomeScreen> {
),
),
bottomNavigationBar: BottomNavigationBar(
unselectedItemColor: Colors.blueGrey,
selectedItemColor: Colors.black,
currentIndex: currentIndex,
onTap: (index) {
setState(() {
Expand All @@ -138,6 +140,10 @@ class _HomeScreenState extends State<HomeScreen> {
icon: Icon(Icons.school),
label: 'Department',
),
BottomNavigationBarItem(
icon: Icon(Icons.bookmark_outline),
label: 'Bookmarks',
),
],
),
);
Expand Down

0 comments on commit e02d977

Please sign in to comment.