push<T, P extends RouteParams> static method

void push<T, P extends RouteParams>(
  1. BuildContext context,
  2. AppRoute<T, P> route, {
  3. P? args,
})

Implementation

static void push<T, P extends RouteParams>(
    BuildContext context, AppRoute<T, P> route,
    {P? args}) async {
  delegateOf(context).push(route, args: args);
}