QudsTransitionPageRoute<T> constructor

QudsTransitionPageRoute<T>({
  1. required Widget builder(
    1. BuildContext context
    ),
  2. Duration duration = const Duration(milliseconds: 400),
  3. Color transitionColor = Colors.black,
  4. bool withFade = true,
  5. bool withRotate = false,
  6. bool withZoom = false,
  7. ZoomType zoomType = ZoomType.In,
  8. bool withSlide = false,
  9. Curve curve = Curves.fastLinearToSlowEaseIn,
  10. SlideDirection slideDirection = SlideDirection.Start,
  11. Alignment rotateAlignment = Alignment.center,
  12. Alignment scaleAlignment = Alignment.center,
})

Create an instance of QudsTransitionPageRoute

Implementation

QudsTransitionPageRoute(
    {required this.builder,
    this.duration = const Duration(milliseconds: 400),
    this.transitionColor = Colors.black,
    this.withFade = true,
    this.withRotate = false,
    this.withZoom = false,
    this.zoomType = ZoomType.In,
    this.withSlide = false,
    this.curve = Curves.fastLinearToSlowEaseIn,
    this.slideDirection = SlideDirection.Start,
    this.rotateAlignment = Alignment.center,
    this.scaleAlignment = Alignment.center});