Unfocuses the currently focused widget (if any) in the Focus that most tightly encloses the given context.
Source
static void clear(BuildContext context) {
_FocusScope focusScope = context.ancestorWidgetOfExactType(_FocusScope);
if (focusScope != null)
focusScope.focusState._clearFocusedWidget();
}