NiceAnnouncer class
Announces a message to screen readers.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Methods
-
announce(
BuildContext context, String message, {TextDirection textDirection = TextDirection.ltr}) → void - Announce a message to screen readers.
-
announceAssertive(
BuildContext context, String message) → void - Announce an assertive message (interrupts current speech). Note: Flutter treats all announcements the same; this is provided for API consistency.
-
announcePolite(
BuildContext context, String message) → void - Announce a polite message (won't interrupt current speech).