Flutter Design Systems Galleries

Swipe actions

Swipe actions keep a contextual command beside the row it affects. Give the command a short verb and make its result easy to undo.

About this look Stint app Appliance gallery

Archive a note

Reveal Archive from the trailing side of the Route note row. Archive it and use Restore note to bring it back.

Flutter preview Open preview
child
The row.
startActions
The keys a swipe toward the end shows.
endActions
The keys a swipe toward the start shows.

Shared behaviour

  • Keyboard and focus. Tab to the row. Where the look supports keyboard reveal, press the arrow toward the reading start to show Archive and Escape to close it. Material Expressive places an Archive note button after the row.
  • Screen readers. Inspect the named actions on the row. Archiving replaces it with a restore button, which also identifies the result.
  • Direction and type. Swipe toward the left in LTR and the right in RTL. Compare the revealed action at normal and large text sizes.
Read the ui_core contract