selectionStart property

int get selectionStart

Returns the start of the selection of the text field.

Implementation

int get selectionStart => textEditingController.selection.start;