I am trying to use SpellOutStringAttribute to spell out the attributedLabel, but it just doesn’t spell it.
The documentation says:
/// A string attribute that causes the assistive technologies, e.g. VoiceOver,
/// to spell out the string character by character.
I am using a physical Android device with TalkBack to try it.
I couldn’t find a working example.
Semantics(
attributedLabel: AttributedString(
'something',
attributes: <SpellOutStringAttribute>[
SpellOutStringAttribute(
range: const TextRange(
start: 0,
end: 4,
),
),
],
),
child: Container(
color: Colors.$red,
height: 200,
width: 200,
),
),
New contributor
Miklós Kondász is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.