ModOverlay class
Global coordinator for the s_modoverlay package.
Set onInit and/or onDismiss once to observe every PopOverlay and Modal show/dismiss lifecycle transition without wiring individual call sites.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
- onDismiss ↔ ModOverlayLifecycleCallback?
-
Called whenever a pop overlay or modal is dismissed/hidden/removed.
getter/setter pair
- onInit ↔ ModOverlayLifecycleCallback?
-
Called whenever a pop overlay or modal is shown/initialized.
getter/setter pair
Static Methods
-
clearLifecycleHooks(
) → void - Clears all global lifecycle callbacks.
-
dispatchDismiss(
ModOverlayLifecycleEvent event) → void - Dispatches a global dismiss event.
-
dispatchInit(
ModOverlayLifecycleEvent event) → void - Dispatches a global init event.