tint method
T
tint({})
Adds a TintEffect that applies an animated color
tint to the target (via ColorFiltered).
Defaults to a begin value of 0
(0% tint) and an end value of 1
(100% tint).
Implementation
T tint({
Duration? delay,
Duration? duration,
Curve? curve,
double? begin,
double? end,
Color? color,
}) =>
addEffect(TintEffect(
delay: delay,
duration: duration,
curve: curve,
begin: begin,
end: end,
color: color,
));