flutter_gemma 0.2.1 copy "flutter_gemma: ^0.2.1" to clipboard
flutter_gemma: ^0.2.1 copied to clipboard

The plugin allows running the Gemma AI model locally on a device from a Flutter application.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_gemma

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

dependencies:
  flutter_gemma: ^0.2.1

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/flutter_gemma.dart';
49
likes
120
pub points
76%
popularity

Publisher

verified publishermobilepeople.dev

The plugin allows running the Gemma AI model locally on a device from a Flutter application.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_web_plugins, js, plugin_platform_interface

More

Packages that depend on flutter_gemma