wouldIntercept method
Side-effect-free — safe to call from handleStartBackGesture.
Implementation
bool wouldIntercept() {
for (final interceptor in List.of(_peekInterceptors)) {
if (interceptor()) return true;
}
return false;
}
Side-effect-free — safe to call from handleStartBackGesture.
bool wouldIntercept() {
for (final interceptor in List.of(_peekInterceptors)) {
if (interceptor()) return true;
}
return false;
}