TTSConfiguration constructor
TTSConfiguration({})
Constructor for TTSConfiguration.
speakOnShow
: Whether the message should be spoken aloud (TTS).speechRate
: The rate at which the TTS system speaks (optional).pitch
: The pitch of the TTS voice (optional).language
: The language of the TTS voice (optional).
Implementation
TTSConfiguration({
required this.speakOnShow,
this.speechRate,
this.pitch,
this.language,
});