page<T> method

GetPageRoute<T> page<T>()

Implementation

GetPageRoute<T> page<T>() {
  while (needRecheck()) {}
  final r = (isUnknown ? unknownRoute : route)!;
  return GetPageRoute<T>(
    page: r.page,
    parameter: r.parameters,
    settings: isUnknown
        ? RouteSettings(
            name: r.name,
            arguments: settings!.arguments,
          )
        : settings,
    curve: r.curve,
    opaque: r.opaque,
    showCupertinoParallax: r.showCupertinoParallax,
    gestureWidth: r.gestureWidth,
    customTransition: r.customTransition,
    binding: r.binding,
    bindings: r.bindings,
    transitionDuration: r.transitionDuration ?? Get.defaultTransitionDuration,
    transition: r.transition,
    popGesture: r.popGesture,
    fullscreenDialog: r.fullscreenDialog,
    middlewares: r.middlewares,
  );
}