I want to be able to programmatically disable/enable tab bar items in Flutter and was wondering how to go about doing that?
In IOS for example, it would be along the lines of tabBarItem1.isEnabled = false
.
I want to disable user interaction with the tab bar until they go through a process first for example pressing a button.
Any help/pointers would be much appreciated.
I am using this as a workaround.
Regular tab:
Tab that won't change index on tap (or will perform any other action of your own):