hideKeyboard static method

void hideKeyboard(
  1. BuildContext context, {
  2. bool hide = true,
})

Implementation

static void hideKeyboard(BuildContext context, {bool hide = true}) {
  if (hide) {
    KeyBoard.hideKeyboard(context);
  }
}