AnnounceSemanticsEvent constructor

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

Constructs an event that triggers an announcement by the platform for the provided view.

Implementation

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