Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some way to know if a toast is already visible to avoid multiple toasts #496

Open
BrendanBasson4 opened this issue Mar 19, 2024 · 1 comment

Comments

@BrendanBasson4
Copy link

Would it be possible to expose some kind of value for example Fluttertoast.isCurrentlyShowingToast that could be used to prevent multiple toasts from firing one after the other. Or perhaps a toast key parameter of some kind that will only show one toast if toasts have the same key?

@mayank29malhotra
Copy link

I have added this feature and added a pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants