flutter tap to dismiss keyboard code example
Example 1: flutter trigger show off keyboard
FocusScope.of(context).unfocus()
Example 2: how to automatically close keyboard in flutter
FocusScope.of(context).requestFocus(FocusNode());
FocusScope.of(context).unfocus()
FocusScope.of(context).requestFocus(FocusNode());