hideKeyboard method

void hideKeyboard ()

Hide the soft keyboard off the screen.

Implementation

void hideKeyboard() {
  if (!this.hasPrimaryFocus) {
    this.unfocus();
  }
}