HSVColor class Null safety

Inheritance

Constructors

HSVColor({double alpha = 1, double hue = 360, double saturation = 1, double value = 1})
const

Properties

alpha double
The alpha value. Must be in range of 0 and 1. If null, an AssertionError is thrown
final
hashCode int
The hash code for this object.
read-onlyinherited
hue double
The hue value. Must be in range of 0 and 360 If null, an AssertionError is thrown
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
saturation double
The saturation value. Must be in range of 0 and 1. If null, an AssertionError is thrown
final
toHex HEXColor
Convert this to a HEX color space
read-onlyinherited
toHSL HSLColor
Convert this to a HSL color space
read-onlyinherited
toHSV HSVColor
Convert this to a HSV color space
read-onlyinherited
toRGB RGBAColor
Convert this to a RGBA color space
read-onlyoverride
value double
The value value. Must be in range of 0 and 1. If null, an AssertionError is thrown
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited