flutter_gemma_speech 0.1.0 copy "flutter_gemma_speech: ^0.1.0" to clipboard
flutter_gemma_speech: ^0.1.0 copied to clipboard

On-device speech (STT now; TTS/voice later) for flutter_gemma via the LiteRT C API + dart:ffi. Opt-in SttBackendProvider.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_gemma_speech

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_gemma_speech: ^0.1.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_gemma_speech/flutter_gemma_speech.dart';
0
likes
150
points
21
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

On-device speech (STT now; TTS/voice later) for flutter_gemma via the LiteRT C API + dart:ffi. Opt-in SttBackendProvider.

Homepage
Repository (GitHub)
View/report issues

Topics

#speech #stt #gemma #litert #on-device

License

MIT (license)

Dependencies

ffi, flutter, flutter_gemma, flutter_gemma_litertlm

More

Packages that depend on flutter_gemma_speech