selection property

TextSelection selection
read / write

The selected text's range.

Implementation

late TextSelection selection = _textSpanEditingController!.selection;