Read page as text

NIB / PLAYGROUND

Mid-flight spring retarget — Flutter animation playground

Change destination before the spring settles; momentum carries across. Keep a moving selection or panel responsive to a new destination.

Open interactive view

Change destination before the spring settles; momentum carries across.

Keep a moving selection or panel responsive to a new destination.

Try the interaction

Send it across, then tap again

Read the guide and example code

Controls

SettingGroupRangeInitial
Travel distanceMOVEMENT40.0–180.0144.0
StiffnessSPRING PHYSICS80.0–420.0180.0
DampingSPRING PHYSICS6.0–45.018.0
MassSPRING PHYSICS0.4–2.51.0