select method

void select(
  1. int r,
  2. int c
)

Implementation

void select(int r, int c) {
  final next = CellRef(r.clamp(0, rowCount - 1), c.clamp(0, colCount - 1));
  if (next == _sel && !_editing) return;
  _sel = next;
  _editing = false;
  notifyListeners();
}