AnnounceSemanticsEvent constructor

const AnnounceSemanticsEvent(String message, 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');