Accessibility announcement data passed to SemanticsService.announce captured in a test.
This class is intended to be used by the testing API to store the announcements in a structured form so that tests can verify announcement details. The fields of this class correspond to parameters of the SemanticsService.announce method.
- WidgetTester.takeAnnouncements, which is the test API that uses this class.
- assertiveness → Assertiveness
Determines the assertiveness level of the accessibility announcement.
- hashCode → int
The hash code for this object.
- message → String
The accessibility message announced by the framework.
- runtimeType → Type
A representation of the runtime type of the object.
- textDirection → TextDirection
The direction in which the text of the message flows.