PersistentBottomNavBar icon indicating copy to clipboard operation
PersistentBottomNavBar copied to clipboard

Controller index

Open moyosolaa opened this issue 3 years ago • 1 comments

How can I get the index of the current page on the nav bar. I'm using controller.index but that only updates when I reload the app, it doesn't update on tab change.

moyosolaa avatar Dec 09 '21 08:12 moyosolaa

Does it work if you print the index? Because I think the controller works, Are you sure it's not just that you need to update the the state or change to a stateful widget?

...however I could be wrong.

Zandahlen avatar Dec 15 '21 16:12 Zandahlen