selection property

TextSelection? get selection

Current selection in the focused block.

Implementation

TextSelection? get selection => _editorWidgetState?.selection;