NextZoomAnimation constructor

const NextZoomAnimation({
  1. Key? key,
  2. required Widget child,
  3. Duration duration = const Duration(milliseconds: 350),
  4. Duration delay = Duration.zero,
  5. NextZoomVariant? variant = NextZoomVariant.zoomIn,
  6. AnimationController? controller,
  7. bool loop = false,
  8. double viewPort = 0.1,
  9. bool startAnimation = true,
  10. double initialPosition = 1,
  11. Key? visibilityKey,
})

Implementation

const NextZoomAnimation(
    {Key? key,
    required this.child,
    this.duration = const Duration(milliseconds: 350),
    this.delay = Duration.zero,
    this.variant = NextZoomVariant.zoomIn,
    this.controller,
    this.loop = false,
    this.viewPort = 0.1,
    this.startAnimation = true,
    this.initialPosition = 1,
    this.visibilityKey})
    : super(key: key);