QudsSlidePageRoute<T> constructor

QudsSlidePageRoute<T>({
  1. required Widget builder(
    1. BuildContext context
    ),
  2. Duration duration = const Duration(milliseconds: 400),
  3. Color transitionColor = Colors.black12,
  4. bool withFade = true,
  5. SlideDirection slideDirection = SlideDirection.Start,
  6. Curve curve = Curves.fastLinearToSlowEaseIn,
})

Create an instance of QudsSlidePageRoute.

Implementation

QudsSlidePageRoute(
    {required Widget Function(BuildContext context) builder,
    Duration duration = const Duration(milliseconds: 400),
    Color transitionColor = Colors.black12,
    bool withFade = true,
    SlideDirection slideDirection = SlideDirection.Start,
    Curve curve = Curves.fastLinearToSlowEaseIn})
    : super(
          builder: builder,
          duration: duration,
          transitionColor: transitionColor,
          withSlide: true,
          withFade: withFade,
          slideDirection: slideDirection,
          curve: curve);