wouldIntercept method

bool wouldIntercept()

Side-effect-free — safe to call from handleStartBackGesture.

Implementation

bool wouldIntercept() {
  for (final interceptor in List.of(_peekInterceptors)) {
    if (interceptor()) return true;
  }
  return false;
}