hide method

  1. @override
void hide()
override

Requests that the text input control is hidden.

This method is called when the input control should hide.

Implementation

@override
void hide() {
  super.hide();
  HardwareKeyboard.instance.removeHandler(onKeyEvent);
  _softLayoutShowing = false;
  _inputControl?.hideSoftLayout();
  _inputControl?.detach();
  _layoutDidAttach = false;
  _hideLayoutShower();
}