setEditingState method

void setEditingState (TextEditingValue value)

Requests that the text input control change its internal state to match the given state.

Implementation

void setEditingState(TextEditingValue value) {
  assert(attached);
  SystemChannels.textInput.invokeMethod<void>(
    'TextInput.setEditingState',
    value.toJSON(),
  );
}