Refreshing a list API on select of a filter in the same page in flutter

Posted by Andre Scott | Updated on

Refreshing a list API on select of a filter in the same page in flutter. Finally got to know the solution. It can be done by getting the list in:

and in setState, I am updating the list. Below is the complete 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