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.
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.
- flutter_tts
A Flutter plugin for text-to-speech support across multiple platforms.
69Compare - dart_webrtc
WebRTC API wrapper for Dart, enabling browser-based audio/video communication.
75Compare - flutter_midi_command_platform_interface
A common platform interface for the FlutterMidiCommand plugin.
75Compare - stts
Speech-to-Text and Text-to-Speech Flutter plugin with offline-first capabilities.
72Compare
Works with
Packages commonly used together with speech_to_text_platform_interface: ones it builds on, ones built on it, and its own family.