popUntil method

void popUntil(
  1. bool predicate(
    1. PageWrapper pageWrapper
    )
)

Pops all the previous routes until the predicate returns true.

Implementation

void popUntil(bool Function(PageWrapper pageWrapper) predicate) {
  return widget._state.popUntil(predicate);
}