effects/tint_effect library
Classes
- TintEffect
-
An effect that applies an animated color tint to the target. The
begin
andend
values indicate the strength of the tint (0 - no tint, 1 - 100% tint). The defaultcolor
is opaque black (Color(0xFF000000)
). Ifcolor
has an opacity less than one, that opacity is multiplied against the strength. Ex.Colors.black54
at strength1
would apply a 54% tint.