call method

  1. @override
void call(
  1. BuildContext param
)
override

Implementation

@override
call(param) {
  FocusScopeNode currentFocus = FocusScope.of(param);
  if (!currentFocus.hasPrimaryFocus) {
    currentFocus.unfocus();
  }
}