1. override
void updateEditingState(TextEditingState state)

Requests that this client update its editing state to the given value.

Source

@override
void updateEditingState(TextEditingState state) {
  _currentValue = _getInputValueFromEditingState(state);
  if (config.onChanged != null)
    config.onChanged(_currentValue);
  if (_currentValue.text != config.value.text) {
    _selectionOverlay?.hide();
    _selectionOverlay = null;
  }
}