show method
Requests that the text input control is shown.
This method is called when the input control should become visible.
Implementation
@override
void show() {
super.show();
_inputControl?.attach();
_layoutDidAttach = true;
if (_handleShowLayout) {
_softLayoutShowing = true;
_inputControl?.showSoftLayout();
}
if (_hasHardKeyboard && !_softLayoutShowing) {
_showOrRefreshLayoutSwitcher('show');
}
HardwareKeyboard.instance.removeHandler(onKeyEvent);
HardwareKeyboard.instance.addHandler(onKeyEvent);
}