Read page as text

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 view

A 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

SettingGroupRangeInitial
Turn angleINTERACTION8.0–35.023.0
StiffnessSPRING PHYSICS80.0–420.0180.0
DampingSPRING PHYSICS6.0–45.018.0
MassSPRING PHYSICS0.4–2.51.0