speechrecognizer 0.0.1
speechrecognizer: ^0.0.1 copied to clipboard
Flutter 语音识别插件,支持 HarmonyOS/OpenHarmony,基于系统 CoreSpeechKit 实现实时语音转文字与麦克风权限管理。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add speechrecognizerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
speechrecognizer: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:speechrecognizer/speechrecognizer.dart';