PackageTrack
Sign in Get early access

flutter_gemma_embeddings

Runtime-agnostic on-device text embedding pipeline (tokenization, isolate worker, pooling/normalization) for flutter_gemma. Pair with an engine package (e.g. flutter_gemma_litertlm) for a concrete EmbeddingBackendProvider.

2.0.0 4.9K downloads/mo #3862 most downloaded on pub.dev DenisovAV/flutter_gemma

What this package is like to depend on

Last release 4 days ago

19 Aug 2026

Ships fairly regularly

a new release about every 2 weeks

Nearly every release is documented

notes for 6 of 6 stable releases

Nothing withdrawn

no release was ever pulled

2 months old

7 releases · first in 2026

7 releases in the last 12 months

see the full history below

Release timeline

7 releases · Jun 2026 to Aug 2026
Release Pre-release

Releases

latest 7
  1. 2.0.0 19 Aug 2026
    Release notes
    • BREAKING: runtime-agnostic embedder; LiteRtEmbeddingBackend moved to flutter_gemma_litertlm.
    • Add tokenizer-factory seam (ForwardPassDescriptor.tokenizerFactory) so engines can bring WordPiece too.
    • Add EmbeddingForwardPass.outputContract override + ForwardResult.attentionMask for the mask thread.
    • Add WordPieceEmbeddingTokenizer (BERT-style, e.g. MiniLM) alongside the existing Gemma SentencePiece adapter.
    Open source →
  2. 1.0.4 26 Jul 2026
    Release notes
    • internal: run on the flutter_gemma_litertlm LiteRT engine (no API change).
    Open source →
  3. 1.0.3 23 Jul 2026
    Release notes
    • Migrate to LiteRT v0.14.0 3-arg LiteRtCreateModelFromFile (adds LiteRtEnvironment); native-v0.14.0.
    Open source →
  4. 1.0.2 13 Jul 2026
    Release notes
    • Realign the shared LiteRT-LM native bundle to native-v0.13.1-b (#364). No API change.
    Open source →
  5. 1.0.1 19 Jun 2026
    Release notes
    • Rebuild on native-v0.13.1-a (shares the LiteRT-LM native bundle; restores NPU dispatch libs, #155). No embeddings API change.
    • Point homepage to fluttergemma.dev. No code change.
    Open source →
  6. 1.0.0 16 Jun 2026
    Release notes
    • Stable 1.0.0; spec imports redirected off the dart:io mobile lib for a wasm-clean web graph.
    Open source →
  7. 1.0.0-rc.1 10 Jun 2026 pre-release
    Release notes
    • Initial release: on-device text embeddings (Gecko / EmbeddingGemma .tflite) via the LiteRT C API + dart:ffi.
    • Provides LiteRtEmbeddingBackend (EmbeddingBackendProvider); forward pass runs on a background isolate.
    • Autonomous (no dependency on flutter_gemma_litertlm); shares the LiteRT-LM native library when both are present.
    • Android, iOS, macOS, Linux, Windows + web (LiteRT.js).
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive