stopSpeaking method
Stop current TTS playback.
Implementation
Future<void> stopSpeaking() async {
await _tts.stop();
_setState(VoiceState.idle);
}
Stop current TTS playback.
Future<void> stopSpeaking() async {
await _tts.stop();
_setState(VoiceState.idle);
}