onFocus method

bool onFocus()

Implementation

bool onFocus() {
  return _listeners
      .any((GestureListener listener) => listener.onFocus?.call() ?? false);
}