Skip to main content

flutter_device_ai 0.2.0 copy "flutter_device_ai: ^0.2.0" to clipboard
flutter_device_ai: ^0.2.0 copied to clipboard

On-device generative AI for Flutter: Apple Foundation Models, Gemini Nano and Chrome built-in AI with streaming, tool calling and JSON-schema output.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_device_ai

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

dependencies:
  flutter_device_ai: ^0.2.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_device_ai/flutter_device_ai.dart';
1
likes
160
points
208
downloads

Documentation

API reference

Publisher

verified publishertechflow.ir

Weekly Downloads

On-device generative AI for Flutter: Apple Foundation Models, Gemini Nano and Chrome built-in AI with streaming, tool calling and JSON-schema output.

Repository (GitHub)
View/report issues

Topics

#ai #llm #on-device #gemini-nano #foundation-models

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, llamadart, llamadart_llama_cpp_flutter, plugin_platform_interface

More

Packages that depend on flutter_device_ai

Packages that implement flutter_device_ai