selection property

ValueEmitter<TextSelection> selection
final

Control and read selection.

Implementation

final selection = ValueEmitter(TextSelection.collapsed(offset: -1));