Read page as text

NIB / PLAYGROUND

Swipe to dismiss and restore — Flutter animation playground

Dismiss a keyed row, then bring it back. Offer direct dismissal with a clear way to restore the item.

Open interactive view

Dismiss a keyed row, then bring it back.

Offer direct dismissal with a clear way to restore the item.

Try the interaction

Swipe the row

Read the guide and example code

Controls

SettingGroupRangeInitial
Dismiss thresholdINTERACTION0.2–0.80.5
StiffnessSPRING PHYSICS80.0–420.0180.0
DampingSPRING PHYSICS6.0–45.018.0
MassSPRING PHYSICS0.4–2.51.0