overlay_notification
library
Functions
-
showOverlay(AnimatedOverlayWidgetBuilder builder, {Curve? curve, Duration? duration, Key? key, BuildContext? context, Duration? animationDuration, Duration? reverseAnimationDuration})
→ OverlayNotificationEntry
-
Basic api to show overlay widget.
-
showOverlayNotification(WidgetBuilder builder, {Duration? duration, Key? key, NotificationPosition position = NotificationPosition.top, BuildContext? context})
→ OverlayNotificationEntry
-
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, Duration? duration, Key? key, bool autoDismiss = true, bool slideDismiss = false, NotificationPosition position = NotificationPosition.top, BuildContext? context, DismissDirection? slideDismissDirection, AlignmentGeometry? alignment, EdgeInsetsGeometry? padding, Color? color, Decoration? decoration, Decoration? foregroundDecoration, double? width, double? height, BoxConstraints? constraints, EdgeInsetsGeometry? margin, Matrix4? transform, AlignmentGeometry? transformAlignment, Clip clipBehavior = Clip.none, MaterialType type = MaterialType.canvas, Color? shadowColor, Color? surfaceTintColor, TextStyle? textStyle, BorderRadiusGeometry? borderRadius, ShapeBorder? shape, bool borderOnForeground = true, Duration animationDuration = kThemeChangeDuration})
→ OverlayNotificationEntry
-
Show a simple notification above the top of window.
-
toast(String message, {Duration duration = Toast.LENGTH_SHORT, BuildContext? context})
→ void
-
Popup a message in front of screen.