OverlayManager class abstract
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadingOverlayId → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
builder(
Widget builder(BuildContext context)) → Widget -
hide(
String id) → void -
Close the entry with
id
Only call this function if we don't know where the entry is showing up that mean we dont have an OverlayEntryControl reference. -
isOverlayShowing(
String overlayId) → bool - Check whether the overlay is displayed
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rearrange(
) → void - Re-arrange the entries based on their position.
-
setLoadingBackgroundColor(
Color color) → void -
setLoadingZIndex(
int zindex) → void -
show(
Widget builder(BuildContext context), {required String id, required int zindex, Color backgroundColor = Colors.transparent, OverlayLayoutTypeEnum type = OverlayLayoutTypeEnum.custom, bool dismissible = false}) → OverlayEntryControl -
If the
id
exists, just keep the current entry respectively. The entry's inserted just below the entry whose zindex greater than thezindex
. Return an OverlayEntryControl instance for controlling the entry if need. -
showLoading(
{Widget builder(BuildContext context)?}) → OverlayEntryControl -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited