Search packages, repositories and app categories

Package detailsv7.5.0

speech_to_text

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

AndroidiOSWebmacOSWindows
30-day downloads
898K
Likes
1.6K
Pub points
150

Install package

flutter pub add speech_to_text

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter plugin that enables speech-to-text functionality by leveraging device-specific speech recognition APIs. It supports real-time transcription across multiple platforms, including Android, iOS, Web, macOS, and Windows. The plugin provides a simple interface to start and stop voice recognition, with optional configuration for language, continuous recognition, and error handling. Ideal for applications requiring voice input, such as voice assistants, dictation tools, or accessibility features. It integrates seamlessly into Flutter apps with minimal setup.

Use cases

  • Voice-controlled interfaces
  • Real-time transcription
  • Accessibility tools
  • Voice search
  • Dictation apps
  • Hands-free data entry

Key features

  • Cross-platform support
  • Real-time recognition
  • Language selection
  • Continuous listening mode
  • Error and status callbacks
  • Simple API integration

Suitable for

  • Developers building voice-enabled apps
  • Apps requiring hands-free interaction
  • Accessibility-focused applications
  • Speech-driven user experiences
  • Prototyping voice features

Considerations

  • Requires microphone permissions
  • Performance varies by device
  • Internet connection needed for some platforms
  • Limited offline capabilities
  • Accuracy depends on audio quality and environment

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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.

Categories

Dependencies

Dependency list 6 items

Source repository

Projects using this package