TextElement class abstract

Interface for accessing text measurement and painter.

Constructors

TextElement()

Properties

hashCode int
The hash code for this object.
no setterinherited
maxWidth int?
The max width of this TextElement during measure and layout.
getter/setter pair
maxWidthStrategy MaxWidthStrategy?
The strategy to use if this TextElement exceeds the maxWidth.
getter/setter pair
measurement → TextMeasurement
The TextMeasurement of this TextElement as an approximate of what is actually printed.
no setter
opacity double?
The opacity of this element, in addition to the alpha set on the color of this element.
no getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
no setter
textDirection TextDirection
The direction to render the text relative to the coordinate.
getter/setter pair
textStyle TextStyle?
The TextStyle of this TextElement.
getter/setter pair

Methods

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

Operators

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

Static Methods

elementSettingsSame(TextElement a, TextElement b) bool
Return true if settings are all the same.