dominantValue property

double get dominantValue

Returns the dominant value among the red, green, and blue components.

Implementation

double get dominantValue => [r, g, b].max;