TextRun class

A representation of a styled section of text in Rive.

Constructors

TextRun({required Font font, required double fontSize, required int unicharCount, double lineHeight = -1.0, double letterSpacing = 0, int styleId = 0, Object? userData})

Properties

font Font
final
fontSize double
final
hashCode int
The hash code for this object.
no setteroverride
letterSpacing double
final
lineHeight double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
styleId int
final
unicharCount int
final
userData Object?
final

Methods

copyWith({int? unicharCount, int? styleId, Object? userData, Font? font, double? fontSize, double? lineHeight, double? letterSpacing}) TextRun
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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