flushbar 1.6.0
flushbar: ^1.6.0 copied to clipboard
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.
[1.6.0] - 2019-31-05 #
- breaking change this fixes
The method 'detach' isn't defined for the class 'FocusScopeNode'
To use this version you will need Flutter 1.6, which in currently in the beta channel If you need to use Flutter Stable channel, stay in version 1.5.3 while flutter 1.6 is in beta.
[1.5.3] - 2019-27-05 #
- update README file
[1.5.2] - 2019-26-05 #
titleText
andmessageText
are now widgets so users can useRichText
orText
- Add
shouldIconPulse
property
[1.5.0] - 2019-04-05 #
- Breaking Change boxShadow is now called boxShadows and is a List
[1.4.0] - 2019-08-04 #
- Add
overlayBlur
property that pushes an overlay blocking user input on the background. Only takes effect if greater then 0.0 - Add
overlayColor
property that changes the overlay color. Default is transparent. Only takes effect if overlayBlur is greater then 0.0 - Create new file for FlushbarRoute
[1.3.1] - 2019-02-04 #
- Constructor now has strongly typed parameters (my bad for forgetting it)
- Improved null message error
[1.3.0] - 2019-14-03 #
- Breaking Change expect for
onStatusChanged
, all properties are now final. Two dot notation does not work anymore. Since you can only use the instance one time, this is the best practice. - Add
dismissDirection
property. - Behaviour change dismiss is now vertical by default. This is more natural since Flushbar show animation is also vertical.
- It is now possible to dismiss a Flushbar that is not the top route. The only inconvenient is that it will not animate back (simply disappear) and the listener, if used, will not register the dismissal.
- Updated README file
[1.2.4] - 2019-05-03 #
- Added FlushbarStyle.FLOATING & FlushbarStyle.GROUNDED
- Fixed icon animation being started even if icon is null
[1.2.3] - 2019-25-02 #
- Breaking Change Flushbar now accepts a BoxShadow for a more customized shadow
[1.2.2] - 2019-22-02 #
- Fixed a bug when push an route after flushbar, and flushbar timer pop the current route out
[1.2.1] - 2019-11-01 #
- aroundPadding is now more flexible and receives EdgeInsets instead of an int
[1.2.0] - 2018-09-12 #
- add animationDuration argument. You can now control how long does it take to show and dismiss Flushbar
[1.1.2] - 2018-24-10 #
- icon argument can now be any widget, though I recommend using Icon or Image
- added null checks
[1.1.1] - 2018-17-10 #
- Fixed bug where calling Navigator.push() on Flushbar swipe dismissal did not pop the route
- Fixed bug where swipe to dismiss a padded Flushbar caused to being stuck at the edge
[1.1.0] - 2018-11-10 #
- Added two new features: aroundPadding and borderRadius
- Fixed a bug where the overlay background was not null
[1.0.1] - 2018-11-02 #
- Texts now respond to alignment
[1.0.0] - 2018-11-02 #
- No changes. Simply reached stable after a month without new bugs
[0.9.2] - 2018-09-29 #
Changes #
- Dismissing a Flushbar that is not the top route no longer throws an exception
- Dismissing a Flushbar that is not the top route has the following effects:
- It does not animate back. It simply vanishes
- FlushbarStatus listener will not register
FlushbarStatus.IS_HIDING
orFlushbarStatus.DISMISSED
- It returns no value when the Future yield by
dismiss()
completes
Fixes #
- Fixed an issue where a dismissible Flushbar would not cancel the timer and pop two routes instead of one
[0.9.1] - 2018-09-25 #
Changes #
- Fixed an issue where Flushbar could get stuck when swipe to dismiss was used
- Minor layout tweeks
- Flushbar gets a weird logo! Do not judge me. I'm not a designer :)
- README file update
- README file fixes
[0.9.0] - 2018-09-10 #
Looking good for version 1.0. Please, report any issues your have.
Changes #
- IMPORTANT
dismiss()
now returns a future when the animation is completed and route is poped. That makes it easier to concatenate two or more Flushbars. - Major changes on how
show
anddismiss
animations work, making Flushbar more reliable. - Trying to
dismiss()
a Flushbar that is not the top route is going to throw an error. - Pressing the back button will now properly
dismiss()
Flushbar. - Performance improvements. In and out animations are smoother.
Layout Changes #
- Removed top padding when
flushbarPosition == FlushbarPosition.TOP
[0.8.3] - 2018-09-07 #
[0.8.2] - 2018-08-27 #
Changes #
- Add
key
property - Fixed bug here using flushbar_helper progressIndicator did not show
- Fixed documentation about progressIndicator
[0.8.0] - 2018-08-11 #
[0.7.5] - 2018-07-28 #
Changes #
- Fix bug where keyboard did not show when using a Form
- Flushbar is now compatible with the master channel
- Bug fixes
[0.7.0] - 2018-07-08 #
Breaking changes #
- Flushbar does not need a global instance anymore
- Flushbar it now made be used only one time. After it hits the dismissed state, that instance wont work anymore
- Due to the behaviour above, there is no need to call commitChanges() anymore
- Flushbar does not need to be within a Stack widget anymore
- Purged state eliminated
- FlushbarMorph is now called FlushbarHelper
Changes #
- README.md is updated
Known issues #
- When using a Form, the keyboard is not shown. Still figuring out how to solve it.
[0.5.4] - 2018-06-16 #
Changed #
- Flushbar now animates size changes when commit is called while showing
- Layout refinements
[0.5.0] - 2018-06-05 #
Changed #
- Removed change...() functions. Cascade notation is now recommended
- Update readme file
- Default message font size reduced from 16.0 to 14.0
- Default title font size reduced from 16.0 to 15.0
[0.4.7] - 2018-06-04 #
Changed #
- Fixed bug with bar duration
- Blink animation when Flushbar is not dismissed now animates the whole bar and is synchronised with content change.
[0.4.5] - 2018-06-03 #
[0.3.1] - 2018-05-27 #
Changed #
- Fixed bar being automatically called
- Title and message are not required at construction time
- Better usage example
- Removed callback from constructor
[0.3.0] - 2018-05-27 #
Changed #
- Removed the possibility to chose icon position
- Widgets are now aligned correctly
- Documentation improvements
[0.2.5] - 2018-05-26 #
Changed #
- Bug fixes
- Moved icon animation into the flushbar
- changeStatusListener() is now activated on change
[0.2.0] - 2018-05-24 #
Added #
- Removed requirement for a initial widget
- OnStatusChanged callback so it is possible to listen to the various Flushbar status
- The callback can be changed using changeStatusListener()
- Started working on the README.md file
Changed #
- IconAwareAnimation is now more general and it is called PulseAnimator
- Flushbar now accepts an Icon instead of only the IconData and IconColor
- Alignment changes
- Default background color