QudsFadePageRoute<T> constructor
QudsFadePageRoute<T> ({
- required Widget builder(
- BuildContext context
- Duration duration = const Duration(milliseconds: 700),
- Color transitionColor = Colors.black,
- Curve curve = Curves.easeIn,
Create an instance of QudsFadePageRoute.
Implementation
QudsFadePageRoute(
{required Widget Function(BuildContext context) builder,
Duration duration = const Duration(milliseconds: 700),
Color transitionColor = Colors.black,
Curve curve = Curves.easeIn})
: super(
builder: builder,
duration: duration,
transitionColor: transitionColor,
withFade: true,
curve: curve);