개발/Flutter
Flutter: How to have more than 3 Bottom Navigatino Bar items
Byunpa24
2021. 9. 5. 22:48
반응형
It's because the default NavigatioBar doesn't support more than 3 items, Use this: type: BottomNavigationBarType.fixed
How to display more than 3 items in a BottomNavigationBar while coding in flutter
I tried adding 5 BottomNavigationBarItem but, the compiler throws an error if I try to add more than 3 items. It looks something like this: The following RangeError was thrown building
stackoverflow.com
반응형