SemanticsService class abstract final

Allows access to the platform's accessibility services.

Events sent by this service are handled by the platform-specific accessibility bridge in Flutter's engine.

When possible, prefer using mechanisms like Semantics to implicitly trigger announcements over using this event.

Constructors

SemanticsService()

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(String message, TextDirection textDirection, {Assertiveness assertiveness = Assertiveness.polite}) Future<void>
Sends a semantic announcement.
tooltip(String message) Future<void>
Sends a semantic announcement of a tooltip.