CSSColor class

#123 #123456 rgb(r,g,b) rgba(r,g,b,a)

Constructors

CSSColor(Color value)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value Color
getter/setter pair

Methods

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

Operators

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

Static Methods

convertToHex(Color color) String
isColor(String color) bool
parseColor(String color, {RenderStyle? renderStyle}) Color?
resolveColor(String color, RenderStyle renderStyle, String propertyName) CSSColor?
tranformToDarkColor(Color color) Color
transformToLightColor(Color color) Color

Constants

HSL → const String
HSLA → const String
initial → const Color
INITIAL_COLOR → const String
RGB → const String
RGBA → const String
transparent → const Color