How to refresh on pull in Flutter for tab bar?

Posted by Pinki | Updated on

Want to refresh on pull in Flutter for tab bar? Child of RefreshIndicator should be Scrollable, in the above example it is DefaultTabController because of which you are not getting the RefreshIndicator

I moved RefreshIndicator into Tab view and added a Scrollable as child (ListView). Please refer the below code


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