close method

void close ()

Stop interacting with the text input control.

After calling this method, the text input control might disappear if no other client attaches to it within this animation frame.

Implementation

void close() {
  if (attached) {
    SystemChannels.textInput.invokeMethod<void>('TextInput.clearClient');
    _clientHandler
      .._currentConnection = null
      .._scheduleHide();
  }
  assert(!attached);
}