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. double viewPort = 0.1,
  7. AnimationController? controller,
  8. bool startAnimation = true,
  9. double initialPosition = 100,
  10. Key? visibilityKey,
})

Implementation

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