TextElement class

Inheritance

Constructors

TextElement(int priority, {required TextPainter textPainter, double dx = 0, double dy = 0})

Properties

dx ↔ double
getter/setter pair
dy ↔ double
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
phase ↔ int
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textPainter → TextPainter
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas) → void
reset() → void
override
toString() → String
A string representation of this object.
override
update(double deltaTime, BaseObject parent) → void
inherited

Operators

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