desaturate method
Adds a desaturate extension to AnimateManager (Animate and AnimateList).
This is identical to the saturate extension, except it defaults to begin=1, end=0
.
Implementation
T desaturate({
Duration? delay,
Duration? duration,
Curve? curve,
double? begin,
double? end,
}) =>
addEffect(SaturateEffect(
delay: delay,
duration: duration,
curve: curve,
begin: begin ?? SaturateEffect.neutralValue,
end: end ?? SaturateEffect.defaultValue,
));