flutter_ondevice_ai 0.1.0
flutter_ondevice_ai: ^0.1.0 copied to clipboard
Flutter plugin for on-device AI using Locanara SDK. Supports iOS (Apple Intelligence), Android (Gemini Nano), and Web (Chrome Built-in AI).
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_ondevice_aiThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_ondevice_ai: ^0.1.0Alternatively, 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_ondevice_ai/flutter_ondevice_ai.dart';