pushReplacement<T extends Object?, TO extends Object?> static method

Future<T?> pushReplacement<T extends Object?, TO extends Object?>(
  1. BuildContext context,
  2. Widget child
)

Implementation

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