SlideTransitionPageRoute<T> constructor
SlideTransitionPageRoute<T> ({
- required Widget builder,
- Curve transitionCurve = Curves.fastLinearToSlowEaseIn,
- Duration transitionDuration = const Duration(milliseconds: 400),
- Duration reverseTransitionDuration = const Duration(milliseconds: 300),
- bool beguinHorizontal = false,
- bool endHorizontal = false,
- RouteSettings? settings,
Implementation
SlideTransitionPageRoute({
required this.builder,
this.transitionCurve = Curves.fastLinearToSlowEaseIn,
this.transitionDuration = const Duration(milliseconds: 400),
this.reverseTransitionDuration = const Duration(milliseconds: 300),
this.beguinHorizontal = false,
this.endHorizontal = false,
RouteSettings? settings,
}) : super(settings: settings);