cmdrootaccess / another-flushbar

A flexible widget for user notification. Customize your text, button, duration, animations and much more. For Android devs, it is made to replace Snackbars and Toasts.
https://pub.dev/packages/another_flushbar
MIT License
146 stars 90 forks source link

isDissmissible doesnt work with "back" button. #14

Closed Pepslee closed 3 years ago

Pepslee commented 3 years ago

I try to use isDissmissible=false, to turn off swiping dissmissible. I want to dissmiss flushbar manually by a condition (in code). And now swiping doesnt dismiss the flushbar, but when I press the native android "back" button, the flushbar is dismissing. How can I turn off all possible ways to dismiss except of manually call Flushbar().dismiss() ??

cmdrootaccess commented 3 years ago

okay noted. i will look into it shortly, and give response

robinbonnes commented 3 years ago

Any update?

robinbonnes commented 3 years ago

Fixed this and proposed a pull-request here: https://github.com/cmdrootaccess/another-flushbar/pull/33

cmdrootaccess commented 3 years ago

alright thanks. will look at it ASAP

cmdrootaccess commented 3 years ago

fixed in another_flushbar: ^1.10.23