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. Curve curve,
  6. Alignment alignment,
  7. Transition transition,
  8. bool popGesture,
  9. CustomTransition customTransition,
  10. bool barrierDismissible = false,
  11. Color barrierColor,
  12. Bindings binding,
  13. List<Bindings> bindings,
  14. String routeName,
  15. GetPageBuilder page,
  16. String barrierLabel,
  17. bool maintainState = true,
  18. bool fullscreenDialog = false}
)

Implementation

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