PersistentBottomNavBar icon indicating copy to clipboard operation
PersistentBottomNavBar copied to clipboard

How to implement a change notifier

Open agares29 opened this issue 4 years ago • 0 comments

I would like to know how to implement a Change Notifier to change to another Nav Bar Option when user clicks on a button.

I tried changing the

_controller.index

For my

provider.currentIndex

Everything works fine when the user clicks on the options on the Nav Bar, but it does not work when I use the button, it just changes the icon selected on the Nav Bar bit the screen does not change

Does anybody know how to make that work?

agares29 avatar Sep 19 '21 06:09 agares29