
Provide list of supported language codes in locale tag name format, e.g. You can retrieve list of supported language using getLanguage function.

double pitch = 1.0 Īccepting locale tag name of specific language, e.g. double rate = 1.0 ġ.0 is the normal pitch, lower values lower the tone of the synthesized voice, greater values increase it. Greater values accelerate it (2.0 is twice the normal speech rate). Lower values slow down the speech (0.5 is half the normal speech rate). double volume = 1.0 ġ.0 is the normal and default speech rate.

Volume range: 0-1 where 0 is silence, and 1 is the maximum volume (the default behavior). Speak String text = "Hello, Good Morning!" Then, create instance of TextToSpeech class: TextToSpeech tts = TextToSpeech() To start, import the dependency in your code: import 'package:text_to_speech/text_to_speech.dart'
