You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@adrianvintu Yes it is okay to use (There is no specific rule in flutter for state management).
Even if you have seen source for progressDialogState.hide() it is just changing the opacity property using setState() void hide() { setState(() { opacity = false; }); }
Also note that this is the basic state management approach we do in flutter. Also you are good to follow any strategy you want.
I noticed the ProgressDialog has methods to call from outside, which delegate to internal state.
This looks like imperative programming. Is this ok by the Flutter rules? Isn't Flutter declarative programming?
The text was updated successfully, but these errors were encountered: