UnderlineStyle enum

Visual style variants for underlined terminal text (SGR 4:x and 21).

Inheritance
Available extensions

Values

none → const UnderlineStyle

No underline (4:0 or 24).

const UnderlineStyle(0)
single → const UnderlineStyle

Standard single underline (4 or 4:1).

const UnderlineStyle(1 << Modifier.underlineStyleShift)
doubleLine → const UnderlineStyle

Double underline (21 or 4:2).

const UnderlineStyle(2 << Modifier.underlineStyleShift)
curly → const UnderlineStyle

Curly / wavy undercurl (4:3).

const UnderlineStyle(3 << Modifier.underlineStyleShift)
dotted → const UnderlineStyle

Dotted underline (4:4).

const UnderlineStyle(4 << Modifier.underlineStyleShift)
dashed → const UnderlineStyle

Dashed underline (4:5).

const UnderlineStyle(5 << Modifier.underlineStyleShift)

Properties

bitMask → int
Pre-shifted modifier bitfield for constant initialization.
final
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<UnderlineStyle>
A constant List of the values in this enum, in order of their declaration.