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
If I show a first toast for 5 seconds, then after 4 seconds show a second toast, then the second message gets shown only one second. Seems like there are two ways one could fix that:
If I show a first toast for 5 seconds, then after 4 seconds show a second toast, then the second message gets shown only one second. Seems like there are two ways one could fix that:
Timer
instead ofFuture.delayed
. Timers can be canceled. https://api.dart.dev/stable/2.3.1/dart-async/Timer/cancel.htmlFuture.delayed
with aCancelableOperation
. https://pub.dev/documentation/async/latest/async/CancelableOperation-class.htmlThe text was updated successfully, but these errors were encountered: