SaturateEffectExtensions<T extends AnimateManager<T>> extension

Adds SaturateEffect related extensions to AnimateManager.

on
  • T

Methods

desaturate({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end}) → T
Adds a SaturateEffect that animates the color saturation of the target. Defaults to a begin value of 1 (normal saturation) and an end value of 0 (fully desaturated / grayscale).
saturate({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end}) → T
Adds a SaturateEffect that animates the color saturation of the target. Defaults to a begin value of 0 (fully desaturated / grayscale) and an end value of 1 (normal saturation).