unFocus function
A utility function that unfocuses the currently focused text input field in the given BuildContext.
Parameters:
- context: the BuildContext associated with the current widget tree.
Example usage: // Unfocuses the currently focused text input field in the given BuildContext.
unFocus(context);
Implementation
void unFocus(BuildContext context) {
FocusScope.of(context).unfocus();
}