Issue when await finishes quickly.
yalva opened this issue · comments
Vamsi commented
Its not working when trying to hide it in less than a second, whenComplete gets executed, but progress continues to show
I'm making Dio async call after pr.show(), when network failure Dio returns immediately, at this point pr.hide().whenComplete() is getting executed but progress dialog getting shown
Mohammad Fayaz commented
use await pr.show()