getColor method
- double value
Gets a color between red and purple
value
must be between 0.0 and 1.0.
Implementation
Color getColor(double value) => HSVColor.lerp(red, purple, value)!.toColor();
Gets a color between red and purple
value
must be between 0.0 and 1.0.
Color getColor(double value) => HSVColor.lerp(red, purple, value)!.toColor();