fadeOut method

T fadeOut({
  1. Duration? delay,
  2. Duration? duration,
  3. Curve? curve,
  4. double? begin,
})

Adds a fadeOut extension to AnimateManager (Animate and AnimateList). This is identical to the fade extension, except it always uses end=0.0.

Implementation

T fadeOut({
  Duration? delay,
  Duration? duration,
  Curve? curve,
  double? begin,
}) =>
    addEffect(FadeEffect(
      delay: delay,
      duration: duration,
      curve: curve,
      begin: begin ?? FadeEffect.neutralValue,
      end: 0.0,
    ));