TextConfig class

Additional text specific configuration that is added to the encoding.

Constructors

TextConfig(String text, double xAnchorMultiplier, String? fontFamily, FontWeight fontWeight, double fontSize, TextDecoration decoration, TextDecorationStyle decorationStyle, Color decorationColor)
Create a new TextStyle object.
const

Properties

decoration TextDecoration
The decoration to apply to the text.
final
decorationColor Color
The color to use for the decoration, if any.
final
decorationStyle TextDecorationStyle
The decoration style to apply to the text.
final
fontFamily String?
The name of the font family to select for rendering.
final
fontSize double
The size of the font, only supported as absolute size.
final
fontWeight FontWeight
The font weight, converted to a weight constant.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The text to be rendered.
final
xAnchorMultiplier double
A multiplier for text anchoring.
final

Methods

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

Operators

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