stopPlay static method
dynamic
stopPlay()
停止播放
Implementation
static stopPlay() async {
Log.i(tag, "stopPlay:hasPlay:$hasPlay");
//有些机器不支持tts
if(hasPlay){
await _flutterTts.stop();
}
}
停止播放
static stopPlay() async {
Log.i(tag, "stopPlay:hasPlay:$hasPlay");
//有些机器不支持tts
if(hasPlay){
await _flutterTts.stop();
}
}