SpeakOptions class

Constructors

SpeakOptions({String? voiceName, String? lang, VoiceGender? gender, double? rate, double? pitch, double? volume})
SpeakOptions.fromJS(SpeakOptions _wrapped)

Properties

gender VoiceGender?
Gender of voice for synthesized speech.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lang String?
The language to be used for synthesis, in the form language-region. Examples: 'en', 'en-US', 'en-GB', 'zh-CN'.
getter/setter pair
pitch double?
Speaking pitch between 0 and 2 inclusive, with 0 being lowest and 2 being highest. 1.0 corresponds to this voice's default pitch.
getter/setter pair
rate double?
Speaking rate relative to the default rate for this voice. 1.0 is the default rate, normally around 180 to 220 words per minute. 2.0 is twice as fast, and 0.5 is half as fast. This value is guaranteed to be between 0.1 and 10.0, inclusive. When a voice does not support this full range of rates, don't return an error. Instead, clip the rate to the range the voice supports.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS SpeakOptions
no setter
voiceName String?
The name of the voice to use for synthesis.
getter/setter pair
volume double?
Speaking volume between 0 and 1 inclusive, with 0 being lowest and 1 being highest, with a default of 1.0.
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