SheetHandleDrag class

Shared drag math for compact↔full camera / QR sheets (+ dismiss).

Offset: positive = dragged down, negative = dragged up.

Constructors

SheetHandleDrag()

Properties

hashCode int
The hash code for this object.
no setterinherited
offset double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

end({required bool expanded, required double velocity}) SheetHandleDragAction
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
panelHeight({required bool expanded, required double compactH, required double fullH}) double
reset() → void
toString() String
A string representation of this object.
inherited
translateY({required bool expanded}) double
update(double deltaDy, {required bool expanded}) → void

Operators

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

Constants

collapseDistance → const double
dismissDistance → const double
expandDistance → const double
flingVelocity → const double