NextZoomAnimation constructor
const
NextZoomAnimation({
- Key? key,
- required Widget child,
- Duration duration = const Duration(milliseconds: 350),
- Duration delay = Duration.zero,
- NextZoomVariant? variant = NextZoomVariant.zoomIn,
- AnimationController? controller,
- bool loop = false,
- double viewPort = 0.1,
- bool startAnimation = true,
- double initialPosition = 1,
- 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);