NIB / PLAYGROUND
Off-centre pivot — Flutter animation playground
A hinge point changes the feel of a small rotation. Make rotation read as a hinge instead of a turn around the center.
Open interactive viewA hinge point changes the feel of a small rotation.
Make rotation read as a hinge instead of a turn around the center.
Try the interaction
Turn around the hinge
Read the guide and example code
Controls
| Setting | Group | Range | Initial |
|---|---|---|---|
| Turn angle | INTERACTION | 8.0–35.0 | 23.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 |