flutter_swipe_action_cell library
Classes
- SwipeAction
- SwipeActionCell
- @created by 文景睿 2020 年 7月13日
- SwipeActionCellState
- SwipeActionCellTapCloseArea
- This widget maybe not compatible with nested action...
- SwipeActionController
- An controller to control the cell's behavior
- This class is used to close opening cell when navigator change its routes. 这个类是用来在路由改变的时候对打开的cell进行关闭
- SwipeNestedAction
- 点击后弹出的action
Typedefs
-
CompletionHandler
= Future<
void> Function(bool delete) - If you want the animation I support you should modify your data source first,then wait handler to execute,after that, you can call setState to update your UI.
-
SelectedIndexPathsChangeCallback
= dynamic Function(List<
int> changedIndexPaths, bool selected, int currentSelectedCount) - When you tap cell under edit mode, or call the method below,this callback func will be called once: SwipeActionController.selectCellAt SwipeActionController.deselectCellAt SwipeActionController.selectAll SwipeActionController.deselectAll SwipeActionController.stopEditingMode
- SwipeActionOnTapCallback = void Function(CompletionHandler handler)