TextOptions class

A class that specifies the desired text decoration.

Constructors

TextOptions.new({bool bold = false, bool italic = false, bool underlined = false})
The constructor can add bold, italic, or underline styles. By default, all styles are set to false.

Properties

bold bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
italic bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
underlined bool
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toList() List<bool>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited