QudsZoomPageRoute<T> constructor

QudsZoomPageRoute<T>({
  1. required Widget builder(
    1. BuildContext context
    ),
  2. Duration duration = const Duration(milliseconds: 300),
  3. Color transitionColor = Colors.black26,
  4. bool withFade = true,
  5. Curve curve = Curves.easeInOut,
  6. Alignment alignment = Alignment.center,
  7. ZoomType zoomType = ZoomType.In,
})

Create an instance of QudsZoomPageRoute

Implementation

QudsZoomPageRoute(
    {required Widget Function(BuildContext context) builder,
    Duration duration = const Duration(milliseconds: 300),
    Color transitionColor = Colors.black26,
    bool withFade = true,
    Curve curve = Curves.easeInOut,
    Alignment alignment = Alignment.center,
    ZoomType zoomType = ZoomType.In})
    : super(
          builder: builder,
          duration: duration,
          transitionColor: transitionColor,
          withZoom: true,
          withFade: withFade,
          scaleAlignment: alignment,
          curve: curve,
          zoomType: zoomType);