overlay_support library

Classes

BottomSlideNotification
a notification show in front of screen and shown at the bottom
ModalKey<T>
showOverlay with block other show with the same ModalKey [...]
OverlaySupport
OverlaySupportEntry
OverlaySupportEntry represent a overlay popup by showOverlay [...]
OverlaySupportTheme
SlideDismissible
can be dismiss by left or right slide
Toast
ToastThemeData
theme data for toast
TopSlideNotification
a notification show in front of screen and shown at the top
TransientKey<T>
The OverlaySupportEntry associated with TransientKey will be dismiss immediately when next OverlaySupportEntry showing by showOverlay with the same key. [...]

Properties

kNotificationDuration Duration
The length of time the notification is fully displayed
read / write
kNotificationSlideDuration Duration
Notification display or hidden animation duration
read / write

Functions

showOverlay(AnimatedOverlayWidgetBuilder builder, {Curve curve, Duration duration, Key key}) OverlaySupportEntry
basic api to show overlay widget [...]
showOverlayNotification(WidgetBuilder builder, {Duration duration, Key key, NotificationPosition position: NotificationPosition.top}) OverlaySupportEntry
popup a notification at the top of screen [...]
showSimpleNotification(Widget content, {Widget leading, Widget subtitle, Widget trailing, EdgeInsetsGeometry contentPadding, Color background, Color foreground, double elevation: 16, Key key, bool autoDismiss: true, bool slideDismiss: false, NotificationPosition position: NotificationPosition.top}) OverlaySupportEntry
show a simple notification above the top of window [...]
toast(String message, {Duration duration: Toast.LENGTH_SHORT}) → void
popup a message in front of screen [...]

Enums

NotificationPosition
Indicates if notification is going to show at the top or at the bottom.

Typedefs

AnimatedOverlayWidgetBuilder(BuildContext context, double progress) Widget
to build a widget with animated value progress : the progress of overlay animation from 0 - 1 [...]