lerpWith method

Color lerpWith(
  1. Color color,
  2. double t
)

Lerp this color with another color.

t must be in range of 0.0 to 1.0

See also:

Implementation

Color lerpWith(Color color, double t) {
  return Color.lerp(this, color, t)!;
}