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
I'm also having this problem on Android 14. One workaround I've found is calling cancel multiple times. For example, the problem doesn't appear for me for short toasts when always calling cancel 10 times:
for (int i = 0; i < 10; i++) {
await Fluttertoast.cancel();
}
This is of course a rather ugly workaround and it would be better if the underlying problem would be fixed.
I want to cancel the toast everytime I press the key.
But it works only on the 1st time, next toasts are not cancelled:
bad.toast.video_2024-06-19_15-02-19.mp4
code:
The text was updated successfully, but these errors were encountered: