CapturedAccessibilityAnnouncement class

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.

See also:

Properties

assertiveness Assertiveness
Determines the assertiveness level of the accessibility announcement.
final
hashCode int
The hash code for this object.
no setterinherited
message String
The accessibility message announced by the framework.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textDirection TextDirection
The direction in which the text of the message flows.
final

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