formtextfiled show and hide keyboard immediately flutter code example
Example 1: flutter trigger show off keyboard
FocusScope.of(context).unfocus()
Example 2: unfocus textfield flutter
FocusScope.of(context).unfocus();
_textEditingController.clear();