OverlayMixin mixin

必须先调用init初始化

提供动画基础

Mixin Applications

Properties

active bool
no setter
closed bool
no setter
controller AnimationController
no setter
future Future<void>
no setter
hashCode int
The hash code for this object.
no setterinherited
hided bool
no setter
hiding bool
no setter
inited bool
no setter
isAnimating bool
no setter
isCompleted bool
no setter
isDismissed bool
no setter
mounted bool
no setter
onHideEnd VoidCallback?
no setter
onShowEnd VoidCallback?
no setter
overlay OverlayState
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldHide bool
getter/setter pair
showing bool
no setter
showStatus bool
no setter
value double
getter/setter pair

Methods

close() → void
如果被调用了,对象将不可用
hide() bool
hideAsync() FutureOr<bool>
init({required OverlayState overlayState, required Duration duration}) → void
listenStatus(AnimationStatus status) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCompleted() → void
onCreateOverlayEntry() → void
onDismissed() → void
onRemoveOverlayEntry() → void
setObverser(OverlayObserver? observer) → void
show() bool
showAsync() FutureOr<bool>
toString() String
A string representation of this object.
inherited

Operators

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