StashedPlacement class final

A PanelPlacement parked off-screen against a vertical edge.

Inheritance
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) to 1 (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 panelSize takes in viewport.
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