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. bool loop = false,
  7. double viewPort = 0.1,
  8. bool startAnimation = true,
  9. NextFlipVariant? variant = NextFlipVariant.flipX,
  10. Key? visibilityKey,
})

Implementation

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