Skip to content

Commit

Permalink
fix: bottom naviagation bar feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
IamMuuo committed Dec 8, 2023
1 parent 23b50bd commit ebbb6e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/dashboard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class DashBoard extends StatelessWidget {
),
),
),
const Text(
const Text(
"0",
style: h3,
),
Expand Down
4 changes: 4 additions & 0 deletions lib/pages/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ class _HomePageState extends State<HomePage> {
),
bottomNavigationBar: BottomNavigationBar(
type: BottomNavigationBarType.fixed,
showUnselectedLabels: true,
enableFeedback: true,
currentIndex: currentIndex,
selectedItemColor: Theme.of(context).primaryColorDark,
unselectedItemColor: Theme.of(context).primaryColorLight,
onTap: (index) => setState(() => currentIndex = index),
items: const [
BottomNavigationBarItem(
Expand Down

0 comments on commit ebbb6e7

Please sign in to comment.