AnnounceSemanticsEvent constructor Null safety
- String message,
- TextDirection textDirection,
- {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})
: assert(message != null),
assert(textDirection != null),
super('announce');