popUntil method

void popUntil(
  1. PagePredicate predicate
)

Calls pop repeatedly on the navigator that most tightly encloses the given context until the predicate returns true.

Implementation

void popUntil(PagePredicate predicate) {
  _popUntil(predicate);
  updatePages();
}