ComOverlayManager class
Overlay管理器基类 提供Toast和Loading的共用Overlay管理功能
Constructors
- ComOverlayManager.new()
-
factory
Properties
- hasAnyOverlay → bool
-
检查是否有任何Overlay显示
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLoadingShowing → bool
-
获取Loading状态
no setter
- isToastShowing → bool
-
获取Toast状态
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearAll(
) → Future< void> - 清理所有Overlay
-
forceCleanup(
) → void - 强制清理(用于应用退出时)
-
hideLoadingEntry(
) → Future< void> - 隐藏Loading Entry
-
hideToastEntry(
) → void - 隐藏Toast Entry
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
showLoadingEntry(
OverlayEntry entry) → void - 显示Loading Entry
-
showToastEntry(
OverlayEntry entry) → void - 显示Toast Entry
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited