FrozenState class

Immutable record capturing the sheet's visual state at the moment it was "frozen" for a spring-back animation.

Stored while the sheet is animating back from an over-drag, so the spring can interpolate smoothly back to the correct detent geometry.

Constructors

FrozenState({required double bottomScale, required double heightAtFreeze})
Creates an immutable frozen state record.
const

Properties

bottomScale → double
The bottom scale factor applied to the sheet at the freeze instant.
final
hashCode → int
The hash code for this object.
no setterinherited
heightAtFreeze → double
The sheet's render height (in logical pixels) at the freeze instant.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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 other) → bool
The equality operator.
inherited