An abstract interface for string attributes that affects how assistive technologies, e.g. VoiceOver or TalkBack, treat the text.
See also:
- AttributedString, where the string attributes are used.
- SpellOutStringAttribute, which causes the assistive technologies to spell out the string character by character when announcing the string.
- LocaleStringAttribute, which causes the assistive technologies to treat the string in the specific language.
- Implementers
Properties
Methods
-
copy(
{required TextRange range}) → StringAttribute - Creates a new attribute with all properties copied except for range, which is updated to the specified value.
-
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