FluentTextSpan class final

A run of plain text in a message.

The text is exactly what the resolver produced — including any bidi-isolation marks (FSI / PDI, U+2068 / U+2069) it added around interpolated values. Downstream renderers don't need to add their own.

const span = FluentTextSpan('Hello, world!');
print(span.text); // "Hello, world!"
Inheritance

Constructors

FluentTextSpan(String text)
Wraps the plain text run.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The literal text to render.
final

Methods

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