setSelecting method
Change Multi-Select Status.
Implementation
@override
void setSelecting(bool flag, {bool notify = true}) {
if (selectingMode.isNone) {
return;
}
if (currentCell == null || isSelecting == flag) {
return;
}
_state._isSelecting = flag;
if (isEditing == true) {
setEditing(false, notify: false);
}
// Invalidates the previously selected row.
if (isSelecting) {
clearCurrentSelecting(notify: false);
}
notifyListeners(notify, setSelecting.hashCode);
}