TextDecorationLine class

The text-decoration-line CSS property sets the kind of decoration that is used on text in an element, such as an underline or overline.

Read more: MDN text-decoration-line

Constructors

TextDecorationLine.multi(List<TextDecorationLineKeyword> lines)
Combines multiple text decoration lines.
const
factory

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 String
The css value
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

Constants

inherit → const TextDecorationLine
initial → const TextDecorationLine
lineThrough → const TextDecorationLineKeyword
Each line of text has a decorative line going through its middle.
none → const TextDecorationLine
Produces no text decoration.
overline → const TextDecorationLineKeyword
Each line of text has a decorative line above it.
revert → const TextDecorationLine
revertLayer → const TextDecorationLine
underline → const TextDecorationLineKeyword
Each line of text has a decorative line beneath it.
unset → const TextDecorationLine