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

Flushbar isn't getting dismissed after duration #30

Closed
keertipurswani opened this issue Feb 15, 2019 · 3 comments
Closed

Flushbar isn't getting dismissed after duration #30

keertipurswani opened this issue Feb 15, 2019 · 3 comments
Labels
waiting for user response Further information is requested

Comments

@keertipurswani
Copy link

**Before reporting **
Make sure you restarted the IDE, especially after an update.
Make sure to perform a clean build, especially after an update.
If the error persists, you are in the right place.

Describe the bug
A clear and concise description of what the bug is.

Paste relevant code
Give me a taste of what you are doing so I can be directed towards the error.

**Screenshots **
If you have some screenshots, that is where you will put them.

Thanks for the feedback :)

@AndreHaueisen
Copy link
Owner

Need some code before I can help you

@AndreHaueisen AndreHaueisen added the waiting for user response Further information is requested label Feb 15, 2019
@keertipurswani
Copy link
Author

This is my code -

Flushbar(
title: null,
duration: Duration(seconds: 3),
flushbarPosition: FlushbarPosition.TOP,
message: 'Back online',
backgroundColor: Colors.green,
);

@AndreHaueisen
Copy link
Owner

Your code is fine. Make sure Flushbar is the top route when the time ends. Flushbar calls Navigator.of(context).pop() when the time is up. It will pop the top most route.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for user response Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants