unfocus function

void unfocus(
  1. BuildContext context
)

Hide keyboard by un-focusing the current context's FocusScopeNode.

Used by the KeyboardHider widget if the hide mode is set to HideMode.unfocus (default behavior).

Implementation

void unfocus(BuildContext context) => FocusScope.of(context).unfocus();