untint method

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

Adds a untint extension to AnimateManager (Animate and AnimateList). This is identical to the tint extension, except it defaults to begin=1, end=0.

Implementation

T untint({
  Duration? delay,
  Duration? duration,
  Curve? curve,
  double? begin,
  double? end,
  Color? color,
}) =>
    addEffect(TintEffect(
      delay: delay,
      duration: duration,
      curve: curve,
      begin: begin ?? 1.0,
      end: end ?? TintEffect.neutralValue,
      color: color,
    ));