clearFocus function

void clearFocus (
  1. BuildContext context
)

Implementation

void clearFocus(BuildContext context) {
  FocusScope.of(context).requestFocus(FocusNode());
}