in_app_notification 1.1.0 in_app_notification: ^1.1.0 copied to clipboard
A Flutter package to show custom in-app notification with any Widgets.
1.1.0 #
FEAT #
- Added
InAppNotification.dismiss()
method that hides notification programmatically.- from #14 .
CHORE #
- Refactored again.
- Get rid of
StatefulWidget
, usingfindAncestorStateOfType()
method.- This is expensive when using
BuildContext
that obtained from deep hierarchy of Widget tree, so it replaced withgetElementForInheritedWidgetOfExactType()
method onInheritedWidget
.
- This is expensive when using
- Get rid of
1.0.2 #
FIX #
- Fixed a bug that
curve
option inInAppNotification.show()
didn't affect.
FEAT #
- Added
dismissCurve
option inInAppNotification.show()
.
CHORE #
- Refactored a whole of code.
- More readable logic around showing and dismissing notification.
- Isolated
AnimationController
for interactions from one for showing.
- Expanded example app to change sample notification size.
1.0.0 #
FEAT #
- Added horizontal swipe gesture to dismiss notifications.
- Now, using cache of
InAppNotification
's state. This makes it possible to decrease overhead on showing notification.
0.3.0 #
FEAT #
- BREAKING: Overall, changes API.
- Removed
InAppNotification.of()
. To show notificaiton, useInAppNotification.show()
instead. - Changed usage of
InAppNotification
, see Usage section in README.
- Removed
- Replaced
Stack
withOverlayEntry
on showing notification sysytem. - Removed
minAlertHeight
property. Notification size is decided from specified Widget now. - Removed
safeAreaPadding
property. Notification position is now considering safe area automatically. - Added
curve
property toInAppNotification.show()
method.
0.2.0+1 #
Organize documents.
0.2.0 #
0.1.0 #
First release.