➡️ Moved to flutter_edge_ai_onnx

flutter_gemma_onnx has moved to flutter_edge_ai_onnx, part of Flutter Edge AI. This is the final release under the old name; new versions, features and fixes ship as flutter_edge_ai_onnx.

To migrate, replace the flutter_gemma_onnx dependency with flutter_edge_ai_onnx, change imports from package:flutter_gemma_onnx/flutter_gemma_onnx.dart to package:flutter_edge_ai_onnx/flutter_edge_ai_onnx.dart, and run dart fix --apply. Installed models and app data carry over. See the migration guide.

The documentation below describes the last flutter_gemma_onnx release.

Libraries

flutter_gemma_onnx
ONNX Runtime on-device engines for flutter_gemma: text generation (OnnxEngine, native macOS/Linux/Windows/Android/iOS arm via ORT-GenAI PLUS a web arm via Transformers.js, see below) and embeddings (OnnxEmbeddingBackend, productionized on native + web).