menu
gradients package
documentation
gradients.dart
LerpToColor extension
LerpToColor extension
dark_mode
light_mode
LerpToColor
extension
on
Color
Methods
interpolate
(
Color
end
,
double
step
)
→
Color
Interpolates to the defined
step
between this color and
end
.
lerpTo
(
Color
color
,
int
steps
, {
ColorSpace
?
colorSpace
,
bool
excludeOriginalColors
=
false
})
→
List
<
Color
>
Returns the interpolated
steps
between this color and
color
.
gradients package
documentation
gradients
LerpToColor extension
gradient library