backTo<T> abstract method

void backTo<T>({
  1. Route? route,
  2. String? identifier,
  3. bool predicate(
    1. Route
    )?,
  4. Route? open,
})

Goes back in navigation stack until Route found.

Implementation

void backTo<T>({
  Route? route,
  String? identifier,
  bool Function(Route<dynamic>)? predicate,
  Route? open,
});