flutter_gemma 0.11.7
flutter_gemma: ^0.11.7 copied to clipboard
The plugin allows running the Gemma AI model locally on a device from a Flutter application. Includes support for Gemma 3 Nano models with optimized MediaPipe GenAI v0.10.24.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_gemmaThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_gemma: ^0.11.7Alternatively, 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/flutter_gemma.dart';