ColorName enum

几种常用色彩 >>> 几种常用色彩枚举

定义常用颜色的色相基准值,用于色彩处理

Inheritance
Available extensions

Values

red → const ColorName

红色 - 色相0度

orange → const ColorName

橙色 - 色相30度

yellow → const ColorName

黄色 - 色相60度

green → const ColorName

绿色 - 色相120度

cyan → const ColorName

青色 - 色相180度

blue → const ColorName

蓝色 - 色相240度

purple → const ColorName

紫色 - 色相260度

pink → const ColorName

粉色 - 色相300度

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<ColorName>
A constant List of the values in this enum, in order of their declaration.