AnnounceSemanticsEvent constructor

const AnnounceSemanticsEvent(
  1. String message,
  2. TextDirection textDirection
)

Constructs an event that triggers an announcement by the platform.

Implementation

const AnnounceSemanticsEvent(this.message, this.textDirection)
  : assert(message != null),
    assert(textDirection != null),
    super('announce');