hideKeyboard method

void hideKeyboard()

Implementation

void hideKeyboard() => FocusManager.instance.primaryFocus?.unfocus();