How to disable onTapped on TabBar on Flutter?

Posted by Jessica Taylor | Updated on

If you want to disable onTapped on TabBar on Flutter? I think you have to add listner to tab click and then change the index to 0 again. In this we need to add controller and we can set index through that.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers