InputValue inputValue

Gets the current text input.

Source

@override
InputValue get inputValue => _input;
void inputValue=(InputValue value)

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);
  }
}