popScreenUntil method

void popScreenUntil(
  1. bool predicate(
    1. Route
    )
)

Pops until a certain route is reached

Implementation

void popScreenUntil(bool Function(Route<dynamic>) predicate) {
  Navigator.popUntil(this, predicate);
}