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 viewChange 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
| Setting | Group | Range | Initial |
|---|---|---|---|
| Travel distance | MOVEMENT | 40.0–180.0 | 144.0 |
| Stiffness | SPRING PHYSICS | 80.0–420.0 | 180.0 |
| Damping | SPRING PHYSICS | 6.0–45.0 | 18.0 |
| Mass | SPRING PHYSICS | 0.4–2.5 | 1.0 |