toNamedAndOffUntil abstract method

Future<T?> toNamedAndOffUntil(
  1. String page,
  2. bool predicate(
    1. GetPage
    ), [
  3. Object? data
])

Navigates to a named page and pops pages until a certain condition is met, returns a result of type T.

Implementation

Future<T?> toNamedAndOffUntil(
  String page,
  bool Function(GetPage) predicate, [
  Object? data,
]);