Skip to content
pubscout

speech_to_text_platform_interface

2.5.0, released 2 months ago by an unverified publisher

A common platform interface for the speech_to_text plugin.

WASM-ready
$ flutter pub add speech_to_text_platform_interface
Source repository

What it does

Defines a common platform interface for the speech_to_text plugin, allowing platform-specific implementations to ensure they support the same interface. It handles options like contextual phrases and device support checking.

AI-written summary of version 2.5.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are developing a platform-specific implementation of the speech_to_text plugin.

Skip it when

  • You are just building a standard Flutter app that wants to use speech recognition (use the main speech_to_text plugin instead).

Strengths

  • Provides a standardized interface for speech_to_text platform implementations.
  • Supports non-breaking interface extensions.

Weaknesses

  • Not intended for direct use by standard application developers.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

Not documented

class MyPlatformSpeechToText extends SpeechToTextPlatform {
  // Implement platform-specific behavior
}

SpeechToTextPlatform.instance = MyPlatformSpeechToText();

Alternatives

Packages that do the same job and could replace speech_to_text_platform_interface.

Works with

Packages commonly used together with speech_to_text_platform_interface: ones it builds on, ones built on it, and its own family.