TintEffectExtensions<T extends AnimateManager<T>> extension

Adds TintEffect related extensions to AnimateManager.

on
  • T

Methods

tint({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, Color? color}) → T
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).
untint({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, Color? color}) → T
Adds a TintEffect that applies an animated color tint to the target (via ColorFiltered). Defaults to a begin value of 1 (100% tint) and an end value of 0 (0% tint).