Gets the current text input.
Source
@override InputValue get inputValue => _input;
Sets the current text input (replaces the whole line).
Source
@override
set inputValue(InputValue value) {
update(value);
if (onSelectionOverlayChanged != null) {
Rect caretRect = renderObject.getLocalRectForCaret(value.selection.extent);
onSelectionOverlayChanged(value, caretRect);
}
}