TextGlyph class

Defines a glyph instance with a specified text and color.

Inheritance

Constructors

TextGlyph({required String text, Color? textColor})
Constructs a glyph with the specified text and textColor.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Text to be displayed in the glyph.
final
textColor Color?
Color of the text.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
Convert the object to a Json format.
override
toString() String
A string representation of this object.
inherited

Operators

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