/// Hide the soft keyboard. void hideKeyboard(BuildContext context) { FocusScope.of(context).requestFocus(FocusNode()); }
SystemChannels.textInput.invokeMethod('TextInput.hide') // Works like charm!