TTSConfiguration class

TTSConfiguration: A configuration class for managing Text-to-Speech (TTS) settings.

This class allows you to configure properties related to the TTS functionality, such as whether to enable TTS, the speech rate, pitch, and language. These configurations can be passed to a TTS system to customize its behavior.

Constructors

TTSConfiguration.new({required bool speakOnShow, double? speechRate, double? pitch, String? language})
Constructor for TTSConfiguration.

Properties

hashCode int
The hash code for this object.
no setterinherited
language String?
Language for the TTS.
getter/setter pair
pitch double?
Pitch for the TTS.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speakOnShow bool
Whether the message should be read aloud (Text-to-Speech).
getter/setter pair
speechRate double?
Speech rate for the TTS.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited