TopAlertNotification class
This is the main class to contain the Overlay State and the Overlay Entry to allow manipulation of the overlay
Constructors
- TopAlertNotification(BuildContext context, Widget child, {String? key, Color color = Colors.white, bool? closeOnX, VoidCallback? onTap, Duration duration = Duration.zero})
Properties
- child ↔ Widget
-
getter/setter pair
- closeOnX ↔ bool?
-
getter/setter pair
- color ↔ Color
-
getter/setter pair
- context ↔ BuildContext
-
getter/setter pair
- duration ↔ Duration
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- key ↔ String?
-
getter/setter pair
- onTap ↔ VoidCallback?
-
getter/setter pair
- overlayEntry ↔ OverlayEntry
-
getter/setter pair
- overlayState ↔ OverlayState?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dismissTopAlert(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
showTopAlert(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited