stts
1.3.4, released 8 weeks ago by cow-level.ovh
Speech-to-Text and Text-to-Speech Flutter plugin with offline-first capabilities.
What it does
Provides speech recognition and speech synthesis functionality using native platform APIs. It supports listening for audio state changes, intermediate and final transcription results, and queuing text utterances for speech generation.
AI-written summary of version 1.3.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need offline-capable speech-to-text or text-to-speech functionality.
- You want cross-platform support across Android, iOS, macOS, Windows, and Web.
Skip it when
- You need to transcribe extremely long continuous audio sessions.
- You require specific platform features not covered by the plugin's parity matrix.
Strengths
- Offline-first design using platform-provided implementations.
- Cross-platform support spanning mobile, desktop, and web.
Weaknesses
- Speech recognition is time-limited and cannot handle very long single sessions.
- Some specific advanced platform features might vary in parity.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 2
Requires platform-specific configuration and permissions for audio recording and STT service usage on supported operating systems.
import 'package:stts/stts.dart';
final tts = Tts();
tts.start('Hello world!');Alternatives
Packages that do the same job and could replace stts.
- flutter_tts
A Flutter plugin for text-to-speech support across multiple platforms.
69Compare - speech_to_text
Flutter plugin to expose device-specific speech-to-text recognition capabilities.
91Compare - speech_to_text_platform_interface
A common platform interface for the speech_to_text plugin.
75Compare - sherpa_onnx
On‑device Flutter library for speech recognition, synthesis, speaker and audio tagging functions.
83Compare