start property

int get start

Start of the inspected range; the whole story without a selection.

Implementation

int get start => switch (selection) {
  final selection? => math.min(selection.anchorOffset, selection.focusOffset),
  null => 0,
};