- bump version
- fix type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry' (#106)
- flutter format code
- update license to MIT
- merged flutter v3 #66 from X-SLAYER/main
- revert updated screenshots
- merge updates
- Update screenshot links
- RTL text
- Implemented endOffset parameter
- Prevents hiding flushbar when user clicks the back button.
- check if flushbar is null
- add radius to leftBarIndicatorColor
- If route was never initialized, do nothing
- Fix Flushbar is hidden behind keyboard
- Fix LateInitializationError: Field '_progressListener' has not been initialized
- Fix nullpointer on onStatusChanged & add pedantic analysis and formatting
- Remove unnecessary platform specific code
- Add isAppearing and isHiding methods
- add color and size parameter
- Let the user choose which corner they want to apply a radius on.
- fix Expected value of SkDeletable, but got one of type Null
- fix regression after merge generated_plugin_registrant.dart: Undefined name 'AnotherFlushbarPlugin
- added null safety support after merge from areille/null-safety merge
- fix [WEB] Undefined name 'AnotherFlushbarPlugin' in generated_plugin_registrant.dart
- FlushbarHelper.createAction() "button" parameter takes a FlatButton which is now deprecated in favor of TextButton
- added positionOffset which allows a vertical offset for the flushbar
- Web support
- Updated Example
- Fixed Readme
- Fixed 'overlayEntries.isEmpty': is not true
- [button] is now a [Widget] instead of [FlatButton]
- Removed generic type requirement to extend Object
- Fixed bar blur clipping
- Fixes example pictures
- Fixes SDK version
- With FLutter's 1.17 release, Flushbar 1.10 is now compatible with stable channel
- Breaking change fixes a breaking change introduced by Flutter. Only use this version if you are using flutter v1.15 or greater (currently on the beta channel)
- Breaking change adds blockBackgroundInteraction property.
- Breaking change overlayBlur renamed to routeBlur. Will be ignored if blockBackgroundInteraction is false
- Breaking change overlayColor renamed to routeColor. Will be ignored if blockBackgroundInteraction is false
- Now, if [showProgressIndicator] is true and [progressIndicatorController] is null, an infinite linear progress indicator will be shown
- Performance improvements
- Code refactoring
- Fixed shadows not showing up
- Added
maxWidth
property - Added
barBlur
which applies a BackdropFilter only to Flushbar's background - Default animation curve changed from
fastOutSlowIn
toeaseOutCirc
- Blur overlay is now dismissible by click if
isDismissible == true
- Blur overlay will now animate until it disappears instead of vanishing
- Removed context requirement from flushbar_route
- Fix onTap requiring a return value
- Breaking Change renamed
aroundPadding
tomargin
- Flushbar now supports uniform borders (same border on all sides)
- Added
borderColor
property - Added
borderWidth
property - Added
padding
property - default still complies with material design specs
- Fixed environment variables
- Changed file docs to comply with dartdoc directives
- Flutter minimum version for Flushbar is now 1.7.8
- With Flutter version 1.7.8 hitting stable, there is no version restriction for stable channel users anymore
- add onTap property
- fix exception caused by user dismissal while flushbar is appearing or hiding
- breaking change this fixes
The method 'detach' isn't defined for the class 'FocusScopeNode'
- update README file
titleText
andmessageText
are now widgets so users can useRichText
orText
- Add
shouldIconPulse
property
- Breaking Change boxShadow is now called boxShadows and is a List
- 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
- Constructor now has strongly typed parameters (my bad for forgetting it)
- Improved null message error
- 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
- Added FlushbarStyle.FLOATING & FlushbarStyle.GROUNDED
- Fixed icon animation being started even if icon is null
- Breaking Change Flushbar now accepts a BoxShadow for a more customized shadow
- Fixed a bug when push an route after flushbar, and flushbar timer pop the current route out
- aroundPadding is now more flexible and receives EdgeInsets instead of an int
- add animationDuration argument. You can now control how long does it take to show and dismiss Flushbar
- icon argument can now be any widget, though I recommend using Icon or Image
- added null checks
- 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
- Added two new features: aroundPadding and borderRadius
- Fixed a bug where the overlay background was not null
- Texts now respond to alignment
- No changes. Simply reached stable after a month without new bugs
- 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
- Fixed an issue where a dismissible Flushbar would not cancel the timer and pop two routes instead of one
- 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
Looking good for version 1.0. Please, report any issues your have.
- 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.
- Removed top padding when
flushbarPosition == FlushbarPosition.TOP
- Fixed issue when
isDismissible
is set to false Issue #6 - Fixed issue where the keyboard would hide Flushbar Issue #7
- Add
key
property - Fixed bug here using flushbar_helper progressIndicator did not show
- Fixed documentation about progressIndicator
- Fixed Dart version issue
- Changed the behaviour of linearProgressIndicator to allow the user to controll its progress. See README.md for examples
- Added a left vertical bar to better convey the humor of the notification. See README.md for examples
- Title is not mandatory anymore
- Version update to supprt master channel
- Fix bug where keyboard did not show when using a Form
- Flushbar is now compatible with the master channel
- Bug fixes
- Flushbar doc update
- 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
- README.md is updated
- When using a Form, the keyboard is not shown. Still figuring out how to solve it.
- Fixed dependency issue
- Updated flushbar_morph
- Updated sdk version
- Flushbar now animates size changes when commit is called while showing
- Layout refinements
- User input now receives a Form to facilitate field validation
- Fixed brain fart. Same changes as 0.5.0
- 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
- Fixed bug with bar duration
- Blink animation when Flushbar is not dismissed now animates the whole bar and is synchronised with content change.
- Blink animation when commitChanges() is called when Flushbar is not dismissed. This provides a smooth content transition
- Helper class to morph Flushbar (FlushbarMorph)
- Code cleanup
- InputTextField
- Fixed bar being automatically called
- Title and message are not required at construction time
- Better usage example
- Removed callback from constructor
- Removed the possibility to chose icon position
- Widgets are now aligned correctly
- Documentation improvements
- Bug fixes
- Moved icon animation into the flushbar
- changeStatusListener() is now activated on change
- 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
- 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
- Flushbar creation
- Single button action
- Status listeners
- Left or right icon positioning
- Top or bottom positioning