OverlayManagerImpl class

Implemented types
Mixed-in types

Constructors

OverlayManagerImpl()

Properties

currentContext BuildContext
This values are used for managing where the loading is requested to be displayed.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
loadingOverlayId String
no setteroverride
overlayKey GlobalKey<OverlayState>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

builder(Widget builder(BuildContext context)) Widget
override
forceHideLoading() → void
Only call this function if we don't know where the loading is showing up.
override
getEntry(String? id) OverlayEntry?
inherited
getOverlayPosition(String id) OverlayPosition?
inherited
hasEntry(String id) bool
inherited
hide(String id) → void
Close the entry with id
override
insert(String id, OverlayEntry entry) → void
inherited
isOverlayShowing(String overlayId) bool
Check whether the overlay is displayed
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rearrange() → void
Re-arrange the entries based on their position.
override
rearrangeByPosition() → void
inherited
remove(String id) → void
inherited
setLoadingBackgroundColor(Color color) → void
override
setOverlayPosition(OverlayPosition position) → void
inherited
setPosition(OverlayPosition position) → void
If below is non-null, the entries are inserted just below below. If above is non-null, the entries are inserted just above above. Otherwise, the entries are inserted on top.
override
show(Widget builder(BuildContext context), {String? id, Color backgroundColor = Colors.transparent, OverlayLayoutTypeEnum type = OverlayLayoutTypeEnum.custom, bool dismissible = false}) Loader
Return an id of the entry in entries.
override
showLoading({Widget builder(BuildContext context)?, bool hasShadow = true}) Future<Loader>
override
toString() String
A string representation of this object.
inherited

Operators

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