QudsRotatePageRoute<T> constructor

QudsRotatePageRoute<T>({
  1. required Widget builder(
    1. BuildContext context
    ),
  2. Duration duration = const Duration(milliseconds: 400),
  3. Color transitionColor = Colors.black,
  4. Curve curve = Curves.linear,
  5. Alignment alignment = Alignment.bottomLeft,
  6. bool withFade = true,
})

Create an instance of QudsRotatePageRoute.

Implementation

QudsRotatePageRoute(
    {required this.builder,
    Duration duration = const Duration(milliseconds: 400),
    Color transitionColor = Colors.black,
    Curve curve = Curves.linear,
    Alignment alignment = Alignment.bottomLeft,
    bool withFade = true})
    : super(
          builder: builder,
          duration: duration,
          transitionColor: transitionColor,
          withRotate: true,
          withFade: withFade,
          rotateAlignment: alignment,
          curve: curve);