max property
num
max
The maximum proportion component of color
.
Implementation
num get max => rgbProportions.reduce((a, b) => a > b ? a : b);
The maximum proportion component of color
.
num get max => rgbProportions.reduce((a, b) => a > b ? a : b);