pushAndRemoveUntil<T extends Object?> static method

Future<T?> pushAndRemoveUntil<T extends Object?>(
  1. BuildContext context,
  2. Widget child,
  3. RoutePredicate predicate
)

Implementation

static Future<T?> pushAndRemoveUntil<T extends Object?>(
        BuildContext context, Widget child, RoutePredicate predicate) =>
    Pylon.pushAndRemoveUntil<T?>(context, child,
        predicate: predicate,
        type: PylonRouteType.material,
        settings:
            RouteSettings(name: child is ArcaneRoute ? child.path : null));