A linear decoration to draw near the text

Constants

lineThrough → TextDecoration

Draw a line through each line of text

const TextDecoration._(0x4)
none → TextDecoration

Do not draw a decoration

const TextDecoration._(0x0)
overline → TextDecoration

Draw a line above each line of text

const TextDecoration._(0x2)
underline → TextDecoration

Draw a line underneath each line of text

const TextDecoration._(0x1)

Constructors

TextDecoration.combine(List<TextDecoration> decorations)

Creates a decoration that paints the union of all the given decorations.

factory

Properties

hashCode → int

read-only
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

Methods

contains(TextDecoration other) → bool

Whether this decoration will paint at least as much decoration as the given decoration.

toString() → String

Returns a string representation of this object.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited