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 viewDismiss 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
| Setting | Group | Range | Initial |
|---|---|---|---|
| Dismiss threshold | INTERACTION | 0.2–0.8 | 0.5 |
| 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 |