NextBounceAnimation constructor

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

Implementation

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