MutableOverlayState class
An interface that can mutate an active overlay pane.
Change notifies are delivered asynchronously through onUpdate.
- Implemented types
Constructors
- MutableOverlayState({bool? captureEvents = false, num? left, num? top, num? right, num? bottom, num? width, num? minWidth, num? height, int? zIndex, Visibility? visibility = Visibility.None, Position? position})
- MutableOverlayState.from(OverlayState? other)
-
Creates a mutable state by copying values from
other
.factory
Properties
- bottom ↔ num?
-
The bottom position relative to the container viewport.
getter/setter pairoverride-getter
- captureEvents ↔ bool?
-
Whether to capture mouse and touch events on the pane itself.
getter/setter pairoverride-getter
- hashCode → int
-
The hash code for this object.
no setteroverride
- height ↔ num?
-
The height of the pane.
getter/setter pairoverride-getter
- left ↔ num?
-
The left position relative to the container viewport.
getter/setter pairoverride-getter
- minWidth ↔ num?
-
The minimum width of the pane.
getter/setter pairoverride-getter
-
onUpdate
→ Stream<
Null> -
A stream updated once per microtask queue when any property has changed.
no setteroverride
- position ↔ Position?
-
The positioning method to use for this state.
getter/setter pairoverride-getter
- right ↔ num?
-
The right position relative to the container viewport.
getter/setter pairoverride-getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- top ↔ num?
-
The top position relative to the container viewport.
getter/setter pairoverride-getter
- visibility ↔ Visibility?
-
If the overlay should be visible.
getter/setter pairoverride-getter
- width ↔ num?
-
The width of the pane.
getter/setter pairoverride-getter
- zIndex ↔ int?
-
ZIndex of the pane.
getter/setter pairoverride-getter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object o) → bool -
The equality operator.
override