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 BottomNavigationBar(dirty, state:
_BottomNavigationBarState#a56dd(tickers: tracking 3 tickers)):
RangeError (index): Invalid value: Not in range 0..2, inclusive: 3
I need to display 5 items in the BottomNavigationBar. Help me out on this one.
there is the link to the code and, currently there are just three items in there, I wanna add two more items without the compiler throwing error message