InAppNotifications class

Properties

animationStyle InAppNotificationsAnimationStyle
Animation style, default: InAppNotificationsAnimationStyle.offset.
getter/setter pair
backgroundColor Color
Background color, default: Colors.white
getter/setter pair
container Widget?
no setter
customAnimation InAppNotificationAnimation?
Custom animation, default: null.
getter/setter pair
descriptionFontSize double
Description font size, default: 14.0.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
key GlobalKey<InAppNotificationsContainerState>?
no setter
overlayEntry ↔ InAppNotificationsOverlayEntry?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadow bool
Set if notification should show shadow, default: true
getter/setter pair
textColor Color
Text color, default: Colors.black
getter/setter pair
titleFontSize double
Title font size, default: 14.0.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance InAppNotifications
no setter

Static Methods

addStatusCallback(InAppNotificationsStatusCallback callback) → void
Add status callback
dismiss({bool animation = true}) Future<void>
init({TransitionBuilder? builder}) TransitionBuilder
removeAllCallbacks() → void
Remove all status callback
removeCallback(InAppNotificationsStatusCallback callback) → void
Remove single status callback
show({String? title, String? description, Widget? leading, Widget? ending, VoidCallback? onTap, Duration? duration, bool persistent = false}) Future<void>
Shows the In-App notification.