announce method

void announce(
  1. String message, {
  2. TextDirection textDirection = TextDirection.ltr,
})

Announce something to screen readers.

This method uses the SemanticsService.announce method.

Implementation

void announce(
  final String message, {
  final TextDirection textDirection = TextDirection.ltr,
}) =>
    SemanticsService.announce(message, textDirection);