StashedPlacement class final
A PanelPlacement parked off-screen against a vertical edge.
- Inheritance
-
- Object
- PanelPlacement
- StashedPlacement
- Annotations
Constructors
- StashedPlacement(PanelEdge edge, {double verticalAlignment = 0})
-
const
Properties
- edge → PanelEdge
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verticalAlignment → double
-
Vertical position within the travel range, from
-1(top) to1(bottom). Preserved from wherever the panel was flung, because a stash is a horizontal gesture and moving vertically would break spatial continuity.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
PanelViewport viewport, Size panelSize, {double stashedPeek = 0}) → Offset -
The top-left a panel of
panelSizetakes inviewport.override -
toJson(
) → Map< String, Object?> -
A JSON-encodable snapshot suitable for persistence.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override