hideKeyboard static method

dynamic hideKeyboard()

Implementation

static hideKeyboard() {
  SystemChannels.textInput.invokeMethod('TextInput.hide');
  FocusManager.instance.primaryFocus?.unfocus();
}