ym_speech_to_text 0.0.2 copy "ym_speech_to_text: ^0.0.2" to clipboard
ym_speech_to_text: ^0.0.2 copied to clipboard

A Flutter plugin that exposes device specific speech to text recognition capability.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add ym_speech_to_text

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  ym_speech_to_text: ^0.0.2

Alternatively, 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:ym_speech_to_text/balanced_alternates.dart';
import 'package:ym_speech_to_text/speech_recognition_error.dart';
import 'package:ym_speech_to_text/speech_recognition_error.g.dart';
import 'package:ym_speech_to_text/speech_recognition_event.dart';
import 'package:ym_speech_to_text/speech_recognition_result.dart';
import 'package:ym_speech_to_text/speech_recognition_result.g.dart';
import 'package:ym_speech_to_text/speech_to_text.dart';
import 'package:ym_speech_to_text/speech_to_text_provider.dart';
import 'package:ym_speech_to_text/speech_to_text_web.dart';