selection property
read / write
The selected text's range.
Implementation
late TextSelection selection = _textSpanEditingController!.selection;
The selected text's range.
late TextSelection selection = _textSpanEditingController!.selection;