closeKeyboard function

void closeKeyboard(
  1. BuildContext context
)

Implementation

void closeKeyboard(BuildContext context) {
  FocusScope.of(context).unfocus();
}