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
});

Libraries

flutter_xf_voice_plugin