HexColor class

Inheritance
Implemented types

Constructors

HexColor(String hexCode)
Creates a HexColor using a String describing its RGB value in hex.
factory
HexColor.fromRgb(num r, num g, num b)
const

Properties

b num
finalinherited
bHex String
no setter
g num
finalinherited
gHex String
no setter
hashCode int
The hash code for this object.
no setterinherited
r num
finalinherited
rHex String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCielabColor() CielabColor
inherited
toCssString() String
override
toHexColor() HexColor
override
toHslColor() HslColor
inherited
toHsvColor() HsvColor
inherited
toMap() Map<String, num>
inherited
toRgbColor() RgbColor
inherited
toString() String
A string representation of this object.
override
toXyzColor() XyzColor
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) num
inherited