You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Giving that my app is using a same GNav navigator for guest and logged in users, I want to limit guest's access to my app by disabling some nav tabs (grey out icon, disable onPress). But even if I didn't change the _selectedIndex, the navigator still switched the tabs.
I see that in your gnav.dart code there is no way to prevent switching tab:
Giving that my app is using a same GNav navigator for guest and logged in users, I want to limit guest's access to my app by disabling some nav tabs (grey out icon, disable onPress). But even if I didn't change the _selectedIndex, the navigator still switched the tabs.
I see that in your gnav.dart code there is no way to prevent switching tab:
Can we add a disable state for GButton?
The text was updated successfully, but these errors were encountered: