lukepighetti / salomon_bottom_bar

Yet another bottom navigation bar, but with a few key promises.
https://pub.dev/packages/salomon_bottom_bar
MIT License
258 stars 55 forks source link

possibility to pass null on currentindex #6

Closed eebeeDEV closed 3 years ago

eebeeDEV commented 3 years ago

Hi,

I'm using the SalomonBottomBar in a WEB app and it would be nice if it was possible to pass a null value to the currentindex. This way none of the items would be selected. When starting my application, I want to show a blank page with the app logo and no items selected.

The user then clicks on an item to go to the selected page.

Very nice Widget btw :) Best, eeBee

eebeeDEV commented 3 years ago

My bad, Setting the currentIndex to -1, does exactly what I need. Please ignore my request above

Ahmadre commented 3 years ago

@eebeeDEV could you please close this issues, if you think it's resolved? Thanks :)