Overview
flutter_slidable is a Flutter package that enables interactive list items with swipeable actions, allowing users to reveal action buttons by swiping left or right. It supports both directional sliding and dismissal gestures, making it ideal for implementing features like delete, archive, or mark as read in lists. The package integrates smoothly with ListView and other scrollable widgets, offering customizable animations and layouts. It works across all major platforms including Android, iOS, Web, macOS, Windows, and Linux.
Use cases
- Implementing swipe-to-delete in task lists
- Adding contextual actions to contacts or messages
- Creating interactive to-do item interfaces
- Enabling quick actions in a feed or inbox
- Supporting dismissible notifications
- Building responsive list item interactions
Key features
- Swipe-left/right to reveal actions
- Built-in dismissal gesture support
- Customizable action buttons
- Smooth animations on slide
- Cross-platform compatibility
- Flexible layout configuration
Suitable for
- Developers building interactive lists
- Apps requiring swipe-based user actions
- Projects with dynamic list item behaviors
- Teams prioritizing consistent UX across platforms
- Users seeking lightweight, well-maintained packages
Considerations
- May require careful handling of touch events in nested scroll views
- Action button positioning should be tested on different screen sizes
- Performance impact on large lists without optimization
- Limited built-in theming options beyond basic styling
- Not designed for complex drag-and-drop interactions
