speech 0.0.2 speech: ^0.0.2 copied to clipboard
This plugin provides a method that returns a stream. While listening to it, it records audio and sends it to the Google speech api, which then yields a transcript of the audio input. As argument the f [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add speech
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
speech: ^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:speech/speech.dart';