import 'package:flutter/material.dart'; class VoiceSetPage extends StatefulWidget { VoiceSetPage({Key key, this.title}) : super(key: key); final String title; @override _VoiceSetPageState createState() => _VoiceSetPageState(); } class _VoiceSetPageState extends State<VoiceSetPage> { @ove...
I/flutter ( 7909): executing Voice I/flutter ( 7909): trying... W/TextToSpeech( 7909): speak failed: not bound to TTS engine Do i have to use it in a statefulwidget? _isPlaying = true; is it right to store the status in this way? d...
EN一.保存图片到XML文件 /// /// 保存图片到XML文件 /// private void UploadImageToXml...
set voice #NEW track what word is currently being said (on all iOS 7+ and Android 26+) Android set Silence Usage Android Change the minimum Android sdk version to 21 (or higher) in your android/app/build.gradle file. minSdkVersion 21 iOS There's a known issue with integrating plugins...
class VoiceSetPage extends StatefulWidget { VoiceSetPage({Key key, this.title}) : super(key: key); final String title; @override _VoiceSetPageState createState() => _VoiceSetPageState(); } class _VoiceSetPageState extends State<VoiceSetPage> { ...
import'package:flutter_tts/tts_helper.dart';import'package:flutter/material.dart';classVoiceSetPageextendsStatefulWidget{VoiceSetPage({Key key,this.title}):super(key:key);finalString title;@override_VoiceSetPageStatecreateState()=>_VoiceSetPageState();}class_VoiceSetPageStateextendsState<VoiceSetPage...
await _flutterTts.setVoice({"name": "Reed", "locale": "de-DE"}); then it works without the error, I tried different "voices" and some produce the error some not. (Anna->error, Helena->error, Grandma->okay, Eddy->okay) happyriri commented Mar 28, 2023 Have you a complete examp...