flutter_swipe_action_cell
3.1.9, released 4 months ago by an unverified publisher
iOS style table view cell swipe action effect for Flutter widgets.
WASM-ready
What it does
Provides a widget that allows list cells to be swiped to reveal actions like delete, edit, or custom buttons, mimicking iOS native behavior. It supports leading and trailing actions, full-swipe execution, nested confirmation actions, and an edit mode with selection controllers.
AI-written summary of version 3.1.9, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need iOS-style swipeable list items with multiple actions.
- You want support for edit modes and selection controllers on list cells.
Skip it when
- You need a non-list-based UI or platform-agnostic swipe components without iOS design patterns.
Strengths
- Supports multiple leading and trailing actions.
- Provides built-in support for nested confirmation buttons (like WeChat delete).
- Includes a robust controller to manage open states and edit modes programmatically.
Weaknesses
- Requires proper key management (like ObjectKey or ValueKey) on items to function correctly.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
SwipeActionCell(
key: ObjectKey(list[index]),
trailingActions: <SwipeAction>[
SwipeAction(
title: "delete",
onTap: (CompletionHandler handler) async {
list.removeAt(index);
setState(() {});
},
color: Colors.red),
],
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Text("this is index of ${list[index]}", style: TextStyle(fontSize: 40)),
),
);Alternatives
Packages that do the same job and could replace flutter_swipe_action_cell.
- liquid_glass_renderer
iOS 27-style liquid glass renderer for Flutter with refraction, frost, and tint.
87Compare - cupertino_onboarding
Provides an iOS-style onboarding experience with Flutter widgets.
50Compare