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

'package:flushbar/flushbar_route.dart': Failed assertion: line 308 pos 18: 'overlayEntries.isEmpty': is not true. #167

Open
Tobi696 opened this issue Dec 5, 2020 · 10 comments

Comments

@Tobi696
Copy link

Tobi696 commented Dec 5, 2020

When trying to show a basic Flushbar, I get this error after the slide-out animation has ended:
'package:flushbar/flushbar_route.dart': Failed assertion: line 308 pos 18: 'overlayEntries.isEmpty': is not true.

Code:

Flushbar(
  title: "fsdf",
  message: "fsdfsf",
  duration: Duration(seconds: 3),
).show(navigatorKey.currentContext);
@crabio
Copy link

crabio commented Dec 5, 2020

Duplicate #160

@cmdrootaccess
Copy link

please use another_flushbar: ^1.10.5 . same code just fixed this issue

@andaryjo
Copy link

@cmdrootaccess Thanks, this works!

@serkanayaz
Copy link

I solved for me
Use overlay_support instead of flushbar
https://pub.dev/packages/overlay_support

@mikeesouth
Copy link

@AndreHaueisen Are you still maintaining flushbar repo? Maybe cmdrootaccess can supply you with a PR of the fix, would you accept it?
If the repo is dead, please tell us so that we can make an official move to another library such as overlay_support.

I really like flushbar but I need something that is maintained.

@houdayec
Copy link

houdayec commented Feb 1, 2021

@AndreHaueisen Please answer, do be afraid of losing users of your library, either add contributors or mark it as UNMAINTAINED.

@jonasN5
Copy link

jonasN5 commented Mar 23, 2021

Ye this package is great, would be awesome if someone decided to take it over. Displaying in a similar form to snackbar is a lot prettier than a toast.

@HTLGKR-Topsl696
Copy link

@themadmrj Use the package another_flushbar instead

@jonasN5
Copy link

jonasN5 commented Mar 23, 2021

@themadmrj Use the package another_flushbar instead

Ye already made the switch, thanks a bunch :)

@jayeshpansheriya
Copy link

you can also use https://pub.dev/packages/awesome_extensions, with some extra feature and with extension, as well as null safety support.

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

10 participants