➡️ Moved to flutter_edge_ai_litertlm

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

To migrate, replace the flutter_gemma_litertlm dependency with flutter_edge_ai_litertlm, change imports from package:flutter_gemma_litertlm/flutter_gemma_litertlm.dart to package:flutter_edge_ai_litertlm/flutter_edge_ai_litertlm.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_litertlm release.

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 own src/embedding/litert_embedding_forward_pass.dart (as an intra-package import) and the capability package flutter_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's litert_embedding_backend_web.dart).