GhosttyStyleColorTag enum

Style color tags.

These values identify the type of color in a style color. Use the tag to determine which field in the color value union to access.

@ingroup style

Inheritance
Available extensions

Values

GHOSTTY_STYLE_COLOR_NONE → const GhosttyStyleColorTag
const GhosttyStyleColorTag(0)
GHOSTTY_STYLE_COLOR_PALETTE → const GhosttyStyleColorTag
const GhosttyStyleColorTag(1)
GHOSTTY_STYLE_COLOR_RGB → const GhosttyStyleColorTag
const GhosttyStyleColorTag(2)

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
value int
final

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

Static Methods

fromValue(int value) GhosttyStyleColorTag

Constants

values → const List<GhosttyStyleColorTag>
A constant List of the values in this enum, in order of their declaration.