lerpTo abstract method
List<ColorModel>
lerpTo(
- ColorModel color,
- int steps, {
- ColorSpace? colorSpace,
- bool excludeOriginalColors,
Returns the interpolated steps
between this color and color
.
The returned ColorModel
's values will be interpolated in the
color space defined by colorSpace
, or in the color space of
this
color if colorSpace
is null
.
If excludeOriginalColors
is false
, this color and color
will not be
included in the list. If color
is in a different color space, it will be
converted to this color's color space.
Implementation
@override
List<ColorModel> lerpTo(
cm.ColorModel color,
int steps, {
cm.ColorSpace? colorSpace,
bool excludeOriginalColors,
});