Showing Progress Bar/ loading indicator on List refresh

Database & APIs

I wanna show Progress Bar/ loading indicator on List refresh

The flow is as follow

On first load 

Progress bar (default) shows and list loads

When user clicks on filter button filter bottom sheet opens and user can select does he wants perticular city (eg Pune, Thane) or year data (eg. 2020, 2023, etc)

Once he selects filter and clicks on apply button on bottom sheet 

Appstate variables like filterCity, filterYear gets updated (on state update I am selecting rebuild current component)

I have passed these values to api as parameter so as appstate variables changes new data shows on screen (Now I am confuse by am I using different Listview for filtered list - I think no)

Now between apply button clicked to new list data shown on screen I wanna show loading indicator/Progress bar 

Please let me know if you need any additional information

(Note: I am not using any custom function to filter data)

What have you tried so far?

I have tried looking for solution on Google/community/Doc/Youtube and found none so need help

Did you check FlutterFlow's Documentation for this topic?
No
2
1 reply