talira

flutter_slidable

Slidable list items with directional slide actions for Flutter

open sourceMITfree

flutter_slidable is a Flutter package for list items you swipe to reveal actions, such as archive or delete, on either side (left or top, right or bottom), and optionally swipe away to dismiss. It has four built-in action panes and motions, two built-in action widgets and a dismiss animation, and you can build your own layouts, animations and actions; items close when an action is tapped or the list scrolls. It's a Flutter Favorite. Version 5 moved to the separate material_ui package and needs Flutter 3.47.

Problems it solves

  • swipe a list item in my Flutter app to show delete and archive buttons
  • swipe to dismiss rows in a Flutter list like the iOS Mail app
  • custom swipe actions on list tiles in Flutter

Features

  • start and end action panes on a list item
  • swipe to dismiss
  • built-in action panes, motions, action widgets and a dismiss animation
  • custom layouts, animations and action builders
  • closes on action tap or when the list scrolls (overridable)