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