selection property

TextSelection selection

The range of text that is currently selected.

Implementation

TextSelection get selection => _controller!.value.selection;