AttributedString class

A string that carries a list of StringAttributes.

Annotations

Constructors

AttributedString(String string, {List<StringAttribute> attributes = const <StringAttribute>[]})
Creates a attributed string.

Properties

attributes List<StringAttribute>
The attributes this string carries.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
string String
The plain string stored in the attributed string.
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 +(AttributedString other) AttributedString
Returns a new AttributedString by concatenate the operands
operator ==(Object other) bool
Two AttributedStrings are equal if their string and attributes are.
override