Removes all routes in the navigation stack until the condition specified in predicate is satisfied
predicate
void popUntil(bool Function(Route<dynamic>) predicate);