PanelStatus class final

A complete, settled description of what the panel is doing.

Carries no per-frame data on purpose. The panel's live offset and expansion progress belong to the motion layer, so a whole drag gesture produces only a handful of statuses rather than one per frame.

Annotations

Constructors

PanelStatus({required PanelPhase phase, required PanelPlacement placement})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
isDragging → bool
no setter
isExpanded → bool
no setter
isStashed → bool
no setter
phase → PanelPhase
The stage the panel is in.
final
placement → PanelPlacement
Where the panel rests, or will rest once the current motion finishes.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({PanelPhase? phase, PanelPlacement? placement}) → PanelStatus
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 other) → bool
The equality operator.
override