selectedRange property

(int, int, int, int) get selectedRange

The selected block of cells as (first row, last row, first column, last column), inclusive and in this section's own indices, or noRange.

Painted as a wash with an outline, in the same pass as everything else, so a range over ten thousand cells costs one rectangle per band.

Implementation

(int, int, int, int) get selectedRange => _selectedRange;
set selectedRange ((int, int, int, int) value)

Implementation

set selectedRange((int, int, int, int) value) {
  if (_selectedRange == value) return;
  _selectedRange = value;
  markNeedsPaint();
  markNeedsSemanticsUpdate();
}