Skip to content
pubscout

flutter_whisper_kit

0.3.0, released a year ago by an unverified publisher

On-device speech recognition and transcription using WhisperKit on iOS and macOS

WASM-ready
$ flutter pub add flutter_whisper_kit
Source repository

What it does

Provides on-device speech-to-text transcription using Whisper models. It supports real-time microphone transcription, audio file transcription, model downloads, language detection, and type-safe error handling.

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

Use it when

  • You need on-device speech-to-text transcription without sending data to external servers
  • You are building iOS or macOS applications that require multilingual speech recognition
  • You need real-time streaming transcription or audio file processing

Skip it when

  • You need support for Android or other non-Apple platforms
  • You want a lightweight package without large machine learning model sizes

Strengths

  • Complete on-device processing ensuring user privacy
  • Multiple model sizes available ranging from tiny to large
  • Provides stream-based real-time transcription and progress tracking

Weaknesses

  • Android platform support is only planned for the future
  • Large model files require significant device storage and download time

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
2

Requires iOS 16.0+ or macOS 13.0+, configuring NSMicrophoneUsageDescription and folder permissions in Info.plist, and setting the macOS deployment target to 13.0+.

import 'package:flutter_whisper_kit/flutter_whisper_kit.dart';

final whisperKit = FlutterWhisperKit();

final result = await whisperKit.loadModel(
  'tiny',
  modelRepo: 'argmaxinc/whisperkit-coreml',
);

final transcription = await whisperKit.transcribeFromFile(
  '/path/to/audio/file.mp3',
  options: DecodingOptions(
    task: DecodingTask.transcribe,
    language: 'en',
  ),
);
print('Transcription: ${transcription?.text}');

Alternatives

Packages that do the same job and could replace flutter_whisper_kit.

Works with

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