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) {
    TextInput._instance._clearClient();
  }
  assert(!attached);
}