QudsSlidePageRoute<T> constructor
QudsSlidePageRoute<T> ({
- required Widget builder(
- BuildContext context
- Duration duration = const Duration(milliseconds: 400),
- Color transitionColor = Colors.black12,
- bool withFade = true,
- SlideDirection slideDirection = SlideDirection.Start,
- 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);