whisper_flutter_new
1.0.1, released 2 years ago by xcl.ink
Use whisper.cpp speech-to-text models implementation for Android and iOS
What it does
Provides an implementation of whisper.cpp models for speech-to-text transcription and translation on Android, iOS, and macOS. Supports multiple model sizes from tiny to large, allowing offline audio processing.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need on-device speech-to-text transcription for audio files
- You want to run whisper.cpp models within a Flutter application on Android, iOS, or macOS
Skip it when
- You require cloud-based speech recognition services with streaming real-time mic input not supported by this API
- You are targeting platforms other than Android, iOS, and macOS
Strengths
- Supports multiple whisper.cpp model sizes (tiny, base, small, medium, large)
- Optimized and fast native implementations for mobile and desktop platforms
Weaknesses
- Requires managing model files and downloads
- Limited platform support (Android, iOS, macOS only)
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- Yes (build_runner)
- Direct dependencies
- 5
Requires supplying audio files in WAV format and downloading whisper.cpp model files.
final Whisper whisper = Whisper(
model: WhisperModel.base,
downloadHost: "https://huggingface.co/ggerganov/whisper.cpp/resolve/main"
);
final String transcription = await whisper.transcribe(
transcribeRequest: TranscribeRequest(
audio: jfkPath,
isTranslate: true,
isNoTimestamps: false,
splitOnWord: true,
),
);Alternatives
Packages that do the same job and could replace whisper_flutter_new.
- llamadart
On‑device LLM inference for Dart/Flutter across native and web
93Compare - whisper_cpp_flutter_plus
Offline whisper.cpp bindings for speech-to-text, translation, and VAD in Flutter
66Compare - mcp_dart
Dart and Flutter SDK for building Model Context Protocol clients, servers, and AI tools.
94Compare - whisper_ggml_plus
On-device Whisper.cpp speech transcription plugin for Flutter.
57Compare
Works with
Packages commonly used together with whisper_flutter_new: ones it builds on, ones built on it, and its own family.
- ffiwhisper_flutter_new depends on itUtilities for working with Foreign Function Interface (FFI) code in Dart.
- json_annotationwhisper_flutter_new depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- plugin_platform_interfacewhisper_flutter_new depends on itReusable base class for platform interfaces of Flutter federated plugins.
- path_providerwhisper_flutter_new depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- freezed_annotationwhisper_flutter_new depends on itAnnotations for the freezed code-generator.