NextFlipAnimation constructor

const NextFlipAnimation({
  1. Key? key,
  2. required Widget child,
  3. Duration duration = const Duration(milliseconds: 350),
  4. Duration delay = Duration.zero,
  5. AnimationController? controller,
  6. double viewPort = 0.1,
  7. bool startAnimation = true,
  8. NextFlipVariant? variant = NextFlipVariant.flipX,
  9. Key? visibilityKey,
})

Implementation

const NextFlipAnimation(
    {Key? key,
    required this.child,
    this.duration = const Duration(milliseconds: 350),
    this.delay = Duration.zero,
    this.controller,
    this.viewPort = 0.1,
    this.startAnimation = true,
    this.variant = NextFlipVariant.flipX,
    this.visibilityKey})
    : super(key: key);