flutter_xf_voice_plugin 0.0.1
flutter_xf_voice_plugin: ^0.0.1 copied to clipboard

A Xunfei Voice dictation plugin.

flutter_xf_voice_plugin #

A Xunfei Voice dictation plugin.

Usage #

Obtain an instance #

FlutterXfVoicePlugin _xfVoicePlugin = FlutterXfVoicePlugin.instance;

Set Xunfei app_id #

/// Set app_id
_xfVoicePlugin.setAppId("your app_id");

Voice dictation #

/// speak
_xfVoicePlugin.speak().listen((onData) {
    // do something with onData
});