detach method

  1. @override
void detach(
  1. TextInputClient client
)
override

Requests the text input control to detach from the given input client.

This method is called when a text input client is detached. The input control should release any resources allocated for the client.

Implementation

@override
void detach(TextInputClient client) {
  super.detach(client);
  if (client == _client) {
    _configuration = null;
    _client = null;
  }
}