GetPageRoute<T> constructor
GetPageRoute<T> ({
- RouteSettings? settings,
- Duration transitionDuration = const Duration(milliseconds: 300),
- Duration reverseTransitionDuration = const Duration(milliseconds: 300),
- bool opaque = true,
- Map<
String, String> ? parameter, - double gestureWidth(
- BuildContext context
- Curve? curve,
- Alignment? alignment,
- Transition? transition,
- bool? popGesture,
- CustomTransition? customTransition,
- bool barrierDismissible = false,
- Color? barrierColor,
- BindingsInterface? binding,
- List<
BindingsInterface> bindings = const <BindingsInterface>[], - List<
Bind> ? binds, - String? routeName,
- GetPageBuilder? page,
- String? title,
- bool showCupertinoParallax = true,
- String? barrierLabel,
- bool maintainState = true,
- bool fullscreenDialog = false,
- 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({
super.settings,
this.transitionDuration = const Duration(milliseconds: 300),
this.reverseTransitionDuration = 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,
BindingsInterface? binding,
List<BindingsInterface> bindings = const <BindingsInterface>[],
this.binds,
this.routeName,
this.page,
this.title,
this.showCupertinoParallax = true,
this.barrierLabel,
this.maintainState = true,
super.fullscreenDialog,
this.middlewares,
}) : bindings = (binding == null) ? bindings : [...bindings, binding],
_middlewareRunner = MiddlewareRunner(middlewares);