selectAll method
select all cell
选择所有的cell
Implementation
void selectAll({required int dataLength}) {
assert(
isEditing.value,
"Please call method :selectCellAt(index) when you are in edit mode\n"
"请在编辑模式打开的情况下调用 selectCellAt(index)");
List<int> selectedList = List.generate(dataLength, (index) => index);
selectedSet.addAll(selectedList);
selectedIndexPathsChangeCallback?.call(selectedList, true, dataLength);
SwipeActionStore.getInstance().bus.fire(CellSelectedEvent(selected: true, controller: this));
}