pushAndRemoveUntil method

dynamic pushAndRemoveUntil(
  1. String name,
  2. bool predicate(
    1. Route
    ), [
  3. Object? args
])

Implementation

pushAndRemoveUntil(String name, bool Function(Route) predicate, [Object? args]) => Navigator.of(this).pushNamedAndRemoveUntil(name, predicate, arguments: args);