➡️ Moved to
flutter_edge_ai_litertlm
flutter_gemma_litertlmhas moved toflutter_edge_ai_litertlm, part of Flutter Edge AI. This is the final release under the old name; new versions, features and fixes ship asflutter_edge_ai_litertlm.To migrate, replace the
flutter_gemma_litertlmdependency withflutter_edge_ai_litertlm, change imports frompackage:flutter_gemma_litertlm/flutter_gemma_litertlm.darttopackage:flutter_edge_ai_litertlm/flutter_edge_ai_litertlm.dart, and rundart fix --apply. Installed models and app data carry over. See the migration guide.The documentation below describes the last
flutter_gemma_litertlmrelease.
Libraries
- flutter_gemma_litertlm
- LiteRT-LM (.litertlm) on-device inference engine for flutter_gemma.
- litert_bindings
- Public, native-only export of the LiteRt interpreter FFI bindings
(
LiteRtBindings) for native-only leaves that need to import the concrete bindings from a file that is itself native-only (never reached on web) — this package's ownsrc/embedding/litert_embedding_forward_pass.dart(as an intra-package import) and the capability packageflutter_gemma_speech. - web_embedding_model
- Public export of the web (LiteRT.js)
EmbeddingModel— WebEmbeddingModel — for the engine package that builds the web embedding backend (flutter_gemma_litertlm'slitert_embedding_backend_web.dart).