flutter_slidable_list_view 1.0.1 flutter_slidable_list_view: ^1.0.1 copied to clipboard
a item slidable listView
flutter_slidable_list_view #
a item slidable listView, the slide item is learn from flutter_slidable, i need some effect that like IOS's list or QQ mobile client's chat list,so this package burn.
Getting Started #
The usage of this Widget is similar to that of ListView.
SlideListView(
itemBuilder: (bc, index) {
// return your item widget here,no need to consider the click event
},
actionWidgetBuilder: ActionWidgetDelegate( $action_count, (index) {
// return your action widget
}, (int indexInList, int index, BaseSlideItem item) {
// deal the action click event here,you can use item.close(),item.remove() to close or remove this item after click action
}, [$action_colors]),// action_colors.len need equal to action_count
dataList: $data_list,
)