QudsFadePageRoute<T> constructor

QudsFadePageRoute<T>({
  1. required Widget builder(
    1. BuildContext context
    ),
  2. Duration duration = const Duration(milliseconds: 700),
  3. Color transitionColor = Colors.black,
  4. 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);