AnnounceSemanticsEvent constructor

const AnnounceSemanticsEvent(
  1. String message,
  2. TextDirection textDirection, {
  3. Assertiveness assertiveness = Assertiveness.polite,
})

Constructs an event that triggers an announcement by the platform.

Implementation

const AnnounceSemanticsEvent(this.message, this.textDirection, {this.assertiveness = Assertiveness.polite})
  : super('announce');