setRowChecked method

  1. @override
void setRowChecked(
  1. PlutoRow row,
  2. bool flag, {
  3. bool notify = true,
})
inherited

Implementation

@override
void setRowChecked(
  PlutoRow row,
  bool flag, {
  bool notify = true,
}) {
  final findRow = refRows.firstWhereOrNull(
    (element) => element.key == row.key,
  );

  if (findRow == null) {
    return;
  }

  findRow.setChecked(flag);

  notifyListeners(notify, setRowChecked.hashCode);
}