in_app_notification 1.1.2
in_app_notification: ^1.1.2 copied to clipboard
A Flutter package to show custom in-app notification with any Widgets.
1.1.2 #
FIX #
- Prevent some
Completererror.- When the size of a notification was changed unexpectedly, a
Future already completed.error could occur.
- When the size of a notification was changed unexpectedly, a
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
BuildContextthat 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
curveoption inInAppNotification.show()didn't affect.
FEAT #
- Added
dismissCurveoption inInAppNotification.show().
CHORE #
- Refactored a whole of code.
- More readable logic around showing and dismissing notification.
- Isolated
AnimationControllerfor 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
StackwithOverlayEntryon showing notification sysytem. - Removed
minAlertHeightproperty. Notification size is decided from specified Widget now. - Removed
safeAreaPaddingproperty. Notification position is now considering safe area automatically. - Added
curveproperty toInAppNotification.show()method.
0.2.0+1 #
Organize documents.
0.2.0 #
BREAKING: Migrate to sound null safety.
CHORE #
- Changed description.
- Added pub.flutter-io.cn badge to README.
0.1.0 #
First release.