fade method

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

Adds a fade extension to AnimateManager (Animate and AnimateList).

Implementation

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