Answers for "how to remove keyboard flutter"

4

hide keyboard flutter

FocusScope.of(context).unfocus()
Posted by: Guest on June-15-2020
1

dismiss keyboard flutter

// The correct way of closing the keyboard is

FocusScope.of(context).unfocus();
Posted by: Guest on June-19-2021
0

hide keyboard in flutter

/// Hide the soft keyboard.
void hideKeyboard(BuildContext context) {
  FocusScope.of(context).requestFocus(FocusNode());
}
Posted by: Guest on August-04-2021

Code answers related to "how to remove keyboard flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language