Skip to content
pubscout

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.

WASM-ready
$ flutter pub add stts
Source repository

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.