TextStyle class
An opaque object that determines the size, position, and rendering of text.
Constructors
- TextStyle({Color color, TextDecoration decoration, Color decorationColor, TextDecorationStyle decorationStyle, FontWeight fontWeight, FontStyle fontStyle, TextBaseline textBaseline, String fontFamily, double fontSize, double letterSpacing, double wordSpacing, double height })
- Creates a new TextStyle object. [...]
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
toString(
) → String - Returns a string representation of this object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
other) → bool - The equality operator. [...]