LiquidMorphState class

The fully computed render state for one frame of a liquid morph animation.

All values are pre-calculated and ready to be applied directly to widget geometry. Consumers must not re-derive values from the raw animation value.

Constructors

LiquidMorphState({required double pathT, required double sizeT, required double currentDx, required double currentDy, required double pushDx, required double pushDy, required double anchorScale, required double blend, required double containerScale, required MorphPhase phase})
const

Properties

anchorScale double
Scale factor for the anchor (ghost trigger) blob in [0.0 – 1.0].
final
blend double
Metaball merge intensity in SDF blur units, clamped to [0.0 – 28.0].
final
containerScale double
Scale pulse applied to the menu container (Blob B) during the spring overshoot phases.
final
currentDx double
Absolute horizontal displacement of the menu body (Blob B) from the trigger center, in logical pixels.
final
currentDy double
Absolute vertical displacement of the menu body (Blob B) from the trigger center, in logical pixels.
final
hashCode int
The hash code for this object.
no setterinherited
pathT double
Position interpolation value — drives the J-curve overshoot.
final
phase MorphPhase
Semantic lifecycle phase of the morph for this frame.
final
pushDx double
Horizontal displacement applied to the anchor blob (Blob A) during the underdamped closing bounce. Zero during the opening animation.
final
pushDy double
Vertical displacement applied to the anchor blob (Blob A) during the underdamped closing bounce. Zero during the opening animation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeT double
Size interpolation value — drives the teardrop size expansion.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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