GetPageRoute<T> constructor

GetPageRoute<T>({
  1. RouteSettings? settings,
  2. Duration transitionDuration = const Duration(milliseconds: 300),
  3. bool opaque = true,
  4. Map<String, String>? parameter,
  5. double gestureWidth(
    1. BuildContext context
    )?,
  6. Curve? curve,
  7. Alignment? alignment,
  8. Transition? transition,
  9. bool? popGesture,
  10. CustomTransition? customTransition,
  11. bool barrierDismissible = false,
  12. Color? barrierColor,
  13. Bindings? binding,
  14. List<Bindings>? bindings,
  15. String? routeName,
  16. GetPageBuilder? page,
  17. String? title,
  18. bool showCupertinoParallax = true,
  19. String? barrierLabel,
  20. bool maintainState = true,
  21. bool fullscreenDialog = false,
  22. List<GetMiddleware>? middlewares,
})

Creates a page route for use in an iOS designed app.

The builder, maintainState, and fullscreenDialog arguments must not be null.

Implementation

GetPageRoute({
  RouteSettings? settings,
  this.transitionDuration = const Duration(milliseconds: 300),
  this.opaque = true,
  this.parameter,
  this.gestureWidth,
  this.curve,
  this.alignment,
  this.transition,
  this.popGesture,
  this.customTransition,
  this.barrierDismissible = false,
  this.barrierColor,
  this.binding,
  this.bindings,
  this.routeName,
  this.page,
  this.title,
  this.showCupertinoParallax = true,
  this.barrierLabel,
  this.maintainState = true,
  bool fullscreenDialog = false,
  this.middlewares,
}) : super(settings: settings, fullscreenDialog: fullscreenDialog);