llama_cpp_flutter 0.8.0 copy "llama_cpp_flutter: ^0.8.0" to clipboard
llama_cpp_flutter: ^0.8.0 copied to clipboard

PlatformiOSmacOS

On-device LLM inference for Flutter: llama.cpp with Metal on iOS/macOS, wllama on web. Streaming sessions, chat formats, model downloads, and memory-aware multi-agent orchestration.

120/ 160
pub points
121
downloads

We analyzed this package 19 hours ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

502 out of 564 API elements (89.0 %) have documentation comments.

Some symbols that are missing documentation: bridge.LlamaException.LlamaException.new, bridge.LlamaException.message, chat.ChatmlChatTemplate.imEnd, chat.GemmaChatFormat.GemmaChatFormat.new, chat.GemmaChatTemplate.GemmaChatTemplate.new.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:llama_cpp_flutter/llama_cpp_flutter.dart that declares support for platforms: iOS, macOS.
Package does not support platform `Windows`.

Because:

  • package:llama_cpp_flutter/llama_cpp_flutter.dart that declares support for platforms: iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:llama_cpp_flutter/llama_cpp_flutter.dart that declares support for platforms: iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:llama_cpp_flutter/llama_cpp_flutter.dart that declares support for platforms: iOS, macOS.

Swift Package Manager support:

Package does not support the Swift Package Manager on macOS

The package does not contain darwin/llama_cpp_flutter/Package.swift.

Package does not support the Swift Package Manager on iOS

The package does not contain darwin/llama_cpp_flutter/Package.swift.

Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

WARNING: Returning a 'Future' without 'await' inside a try block.

lib/src/runtime/model_downloader_io.dart:113:11

    ╷
113 │           return download(url, directory: directory, onProgress: onProgress);
    │           ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/runtime/model_downloader_io.dart

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Partially passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
characters ^1.4.1 1.4.1 1.4.1
extensions ^0.6.0 0.6.0 0.7.1
ffi ^2.1.0 2.2.0 2.2.0
meta ^1.16.0 1.19.0 1.19.0
web ^1.1.1 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
clock - 1.1.3 1.1.3
collection - 1.19.1 1.19.1
cross_file - 0.3.5+5 0.3.5+5
file - 7.0.1 7.0.1
glob - 2.2.0 2.2.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.1
path - 1.9.1 1.9.1
petitparser - 7.0.2 7.0.2
source_span - 1.10.2 1.10.2
stream_transform - 2.1.2 2.1.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_platform - 1.1.0 1.1.0
vector_math - 2.4.2 2.4.2
watcher - 1.2.1 1.2.1
xml - 6.6.1 7.0.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.6.0` on extensions does not support the stable version `0.7.0`, that was published 29 days ago.

When extensions is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions extensions to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
121
downloads

Documentation

API reference

Publisher

verified publisherjamiewest.dev

Weekly Downloads

On-device LLM inference for Flutter: llama.cpp with Metal on iOS/macOS, wllama on web. Streaming sessions, chat formats, model downloads, and memory-aware multi-agent orchestration.

Repository (GitHub)
View/report issues

Topics

#llm #llama-cpp #gguf #on-device-ai #local-ai

License

MIT (license)

Dependencies

characters, extensions, ffi, flutter, meta, web

More

Packages that depend on llama_cpp_flutter

Packages that implement llama_cpp_flutter