loading_overlay icon indicating copy to clipboard operation
loading_overlay copied to clipboard

Future condition

Open danieramiz opened this issue 5 years ago • 1 comments

It would be cool if you can use a future instead of the boolean condition. for example if we made an API call using a future, the loading_overlay will be only visible until the future method is ready or finish.

danieramiz avatar Mar 14 '20 20:03 danieramiz

A simple fix will be to set your loading variable in the state to true before starting your Future and then setting it to false or navigating to your desired page when the future completes.

Roy7017 avatar Nov 21 '20 01:11 Roy7017