TextRun class

Constructors

TextRun({required String text, required double x, required double baseline, required String? fontFamily, required double fontSize, required FontWeight fontWeight, required FontStyle fontStyle, required Color color, double? letterSpacing, List<TextCluster>? clusters})

Properties

baseline → double
final
clusters → List<TextCluster>?
Per-character positions from the laid-out paragraph, for writers that place each glyph themselves instead of emitting the run as a string.
final
color → Color
final
fontFamily → String?
final
fontSize → double
final
fontStyle → FontStyle
final
fontWeight → FontWeight
final
hashCode → int
The hash code for this object.
no setterinherited
letterSpacing → double?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
final
x → double
final

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