NextFadeOutAnimation constructor

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

Implementation

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