CssColorString enum
Translation options from Color
to a string format recognizable according to https://drafts.csswg.org/css-color-3 and forthcoming drafts.
Values
- hex → const CssColorString
-
Hex format that truncates to a short form (3-4 digits) if possible and contains alpha digits if color is not fully opaque.
- rgb → const CssColorString
-
RGB/RGBA format that contains alpha value if color is not fully opaque.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
CssColorString> - A constant List of the values in this enum, in order of their declaration.