selectionState property

EditorSelectionState selectionState

The state of the selected text from the editor.

It is used to manage the state of the toolbar buttons.

The value is set internally by the editor field and is read-only.

Implementation

EditorSelectionState get selectionState => _selectionState;