withHue method Null safety
- double hue
Returns a copy of this color with the hue
parameter replaced with the
given value.
Implementation
HSLColor withHue(double hue) {
return HSLColor.fromAHSL(alpha, hue, saturation, lightness);
}
Returns a copy of this color with the hue
parameter replaced with the
given value.
HSLColor withHue(double hue) {
return HSLColor.fromAHSL(alpha, hue, saturation, lightness);
}