closeSpring constant
SpringDescription
const closeSpring
Spring profile for the iOS 26/27 liquid morph closing animation.
Matches the native iOS 27 _UIContextMenuView / _UIMagicMorphView
dismissal response (response ≈ 0.35s, ω₀ ≈ 11.0 rad/s, ζ ≈ 0.73),
paired with closeVelocityHint (-2.5) to drive the spring smoothly
home with an underdamped rubber-band catch on the trigger button.
Implementation
static const SpringDescription closeSpring = SpringDescription(
mass: 1.0,
stiffness: 120.0,
damping: 16.0,
);