showKeyboard method

void showKeyboard()

Implementation

void showKeyboard() {
  if (context == null) {
    return;
  }
  if (hasFocus) {
    _showKeyboard();
  } else {
    FocusScope.of(context!).requestFocus(this);
  }
}