dominantValue property
Returns the dominant value among the red, green, and blue components.
Implementation
double get dominantValue => [r, g, b].max;
Returns the dominant value among the red, green, and blue components.
double get dominantValue => [r, g, b].max;