The region of text that is selected, if any.
Source
TextSelection get selection => _selection;
Source
set selection(TextSelection value) { if (_selection == value) return; _selection = value; _selectionRects = null; markNeedsPaint(); }
The region of text that is selected, if any.
TextSelection get selection => _selection;
set selection(TextSelection value) { if (_selection == value) return; _selection = value; _selectionRects = null; markNeedsPaint(); }