EditorText class

Descript of a text.

Constructors

EditorText({required String text, required Offset offset, int fontSizePx = 14, Color textColor = Colors.black, String fontName = '', TextAlign textAlign = TextAlign.left})
const

Properties

fontName String
The font name of text, if fontName is empty string, the text will use system font.
final
fontSizePx int
The font size of text.
final
hashCode int
The hash code for this object.
no setterinherited
offset Offset
The offset of text.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The text.
final
textAlign TextAlign
The align of text.
final
textColor Color
The color of text.
final

Methods

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

Operators

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