How to stop clicking and changing status
Hesham-Dev-LY opened this issue · 1 comments
Hesham-Dev-LY commented
I am trying to prevent the user from entering screen number 2, and I succeeded in that by controlling the screenIndex
variable , but in all cases the nav button is activated and its state changes! .
How can I prevent the nav but from changing its state.
Note : i already tried to set active
to false
.
sooxt98 commented
yep this can be fixed by modifying this line which prevent GNav to override GButton active state
google_nav_bar/lib/src/gnav.dart
Line 110 in 97bba97