QudsTransitionPageRoute<T> constructor
QudsTransitionPageRoute<T> ({
- required Widget builder(
- BuildContext context
- Duration duration = const Duration(milliseconds: 400),
- Color transitionColor = Colors.black,
- bool withFade = true,
- bool withRotate = false,
- bool withZoom = false,
- ZoomType zoomType = ZoomType.In,
- bool withSlide = false,
- Curve curve = Curves.fastLinearToSlowEaseIn,
- SlideDirection slideDirection = SlideDirection.Start,
- Alignment rotateAlignment = Alignment.center,
- 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});