hideSoftInput function

dynamic hideSoftInput(
  1. BuildContext context
)

隐藏软键盘

Implementation

hideSoftInput(BuildContext context) {
  FocusScope.of(context).requestFocus(FocusNode());
}