Set dynamic Spacing in BottomNavigationBarType to "fixed"

This commit is contained in:
MineTec committed 2023-03-11 22:01:07 +01:00
1 parent cbcae3a7a1
commit 58bbfc6329
1 file changed
+1
+1
View File
@@ -139,6 +139,7 @@ class _AppState extends State<App> {
unselectedItemColor: Colors.grey, unselectedItemColor: Colors.grey,
showUnselectedLabels: true, showUnselectedLabels: true,
showSelectedLabels: true, showSelectedLabels: true,
type: BottomNavigationBarType.fixed,
currentIndex: currentPage, currentIndex: currentPage,
onTap: (item) { onTap: (item) {