csdcorp / speech_to_text

A Flutter plugin that exposes device specific text to speech recognition capability.
BSD 3-Clause "New" or "Revised" License
392 stars 239 forks source link

speech_to_text

A library that exposes device specific speech recognition capability.

This plugin contains a set of classes that make it easy to use the speech recognition capabilities of the underlying platform in Flutter. It supports Android, iOS and web. The target use cases for this library are commands and short phrases, not continuous spoken conversion or always on listening.

Contents

Plugin

This project has the code for the plugin on multiple native platforms including iOS, Android and the web.

Platform Interface

This project defines the behaviour required on each host platform. To implement the plugin for a new platform the behaviour of this interface is implemented on that platform. See the docs here for a description of the approach.

Example apps

The main example app included with the plugin shows basic use of the plugin.

In addition there is a Provider example that shows how to use the plugin as a Flutter Provider.

These examples work only with the plugin source checked out because their dependency is on a relative path, not the pub.dev version.