llm_toolkit 0.1.0
llm_toolkit: ^0.1.0 copied to clipboard
On-device AI toolkit for Flutter: LLM chat (GGUF via llama.cpp, LiteRT-LM), vision, Whisper speech recognition, embeddings and RAG, Hugging Face/Ollama model discovery and resumable downloads, structu [...]
We analyzed this package 14 hours ago, and awarded it 70 pub points (of a possible 160):
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.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
557 out of 1189 API elements (46.8 %) have documentation comments.
Some symbols that are missing documentation: llm_toolkit.ASRConfig.ASRConfig.defaults, llm_toolkit.ASRConfig.ASRConfig.new, llm_toolkit.ASRConfig.copyWith, llm_toolkit.ASRService.ASRService.new, llm_toolkit.ASRService.ASRService.withRecognizer.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
ERROR: The name 'ModelFamily' is defined in the libraries 'package:flutter_edge_ai/src/model.dart (via package:flutter_edge_ai/flutter_edge_ai.dart)' and 'package:llm_toolkit/src/core/config.dart'.
lib/src/core/inference/litert/litert_mapping.dart:24:30
╷
24 │ ModelType litertModelTypeFor(ModelFamily family, {String path = ''}) {
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/inference/litert/litert_mapping.dart
ERROR: The name 'ModelFamily' is defined in the libraries 'package:flutter_edge_ai/src/model.dart (via package:flutter_edge_ai/flutter_edge_ai.dart)' and 'package:llm_toolkit/src/core/config.dart'.
lib/src/core/inference/litert/litert_mapping.dart:27:5
╷
27 │ ModelFamily.gemma =>
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/inference/litert/litert_mapping.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.17.0 |
1.19.1 | 1.19.1 | |
crypto |
^3.0.3 |
3.0.8 | 3.0.8 | |
dio |
^5.8.0 |
5.11.1 | 5.11.1 | |
fftea |
^1.0.0 |
1.5.0+1 | 1.5.0+1 | |
flutter_edge_ai |
^2.3.1 |
2.8.0 | 2.8.0 | |
flutter_edge_ai_litertlm |
^1.13.1 |
1.22.1 | 1.22.1 | |
http |
^1.5.0 |
1.6.0 | 1.6.0 | |
llama_cpp_dart |
^0.2.2 |
0.2.2 | 0.2.2 | |
path |
^1.8.3 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.1 |
2.1.6 | 2.1.6 | |
record |
^7.1.2 |
7.2.0 | 7.2.0 | |
sherpa_onnx |
^1.13.8 |
1.13.8 | 2.0.3 | |
tflite_flutter |
^0.12.1 |
0.12.1 | 0.12.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.7.1 | 4.7.1 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
background_downloader |
- | 9.6.8 | 9.6.8 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
code_assets |
- | 2.2.0 | 2.2.0 | |
connectivity_plus |
- | 7.3.2 | 7.3.2 | |
connectivity_plus_platform_interface |
- | 2.1.0 | 2.1.0 | |
cross_file |
- | 0.3.5+5 | 0.4.0 | |
cupertino_ui |
- | 1.1.7 | 1.1.7 | |
dbus |
- | 0.8.1 | 0.8.1 | |
decimal |
- | 3.2.7 | 3.2.7 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
email_validator |
- | 3.0.0 | 3.0.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
genai_primitives |
- | 0.2.4 | 0.2.4 | |
hooks |
- | 2.2.0 | 2.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image |
- | 4.13.1 | 4.13.1 | |
intl |
- | 0.20.3 | 0.20.3 | |
jni |
- | 1.2.1 | 1.2.1 | |
jni_flutter |
- | 1.1.0 | 1.1.0 | |
jni_util |
- | 1.0.0 | 1.0.0 | |
json_schema_builder |
- | 0.1.7 | 0.1.7 | |
large_file_handler |
- | 0.5.2 | 0.5.2 | |
listen |
- | 1.0.1 | 1.0.1 | |
litertlm_dart |
- | 0.20.0+3 | 0.20.0+3 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.20 | 0.12.20 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
material_ui |
- | 1.12.0 | 1.12.0 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
mutex |
- | 3.1.0 | 3.1.0 | |
nm |
- | 0.6.0 | 0.6.0 | |
objective_c |
- | 9.6.4 | 9.6.4 | |
package_config |
- | 3.0.0 | 3.0.0 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.1.0 | 7.1.0 | |
platform |
- | 3.2.0 | 3.2.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.5.4 | 6.5.4 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
quiver |
- | 3.2.2 | 3.2.2 | |
rational |
- | 2.2.3 | 2.2.3 | |
record_android |
- | 2.3.0 | 2.3.0 | |
record_darwin |
- | 2.0.0 | 2.0.0 | |
record_linux |
- | 2.2.0 | 2.2.0 | |
record_platform_interface |
- | 2.2.0 | 2.2.0 | |
record_use |
- | 1.1.1 | 1.1.1 | |
record_web |
- | 2.2.0 | 2.2.0 | |
record_windows |
- | 2.4.0 | 2.4.0 | |
shared_preferences |
- | 2.5.6 | 2.5.6 | |
shared_preferences_android |
- | 2.5.5 | 2.5.5 | |
shared_preferences_foundation |
- | 2.6.2 | 2.6.2 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.2 | 2.4.2 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
sherpa_onnx_android_arm64 |
- | 1.13.8 | 2.0.3 | |
sherpa_onnx_android_armeabi |
- | 1.13.8 | 2.0.3 | |
sherpa_onnx_android_x86 |
- | 1.13.8 | 2.0.3 | |
sherpa_onnx_android_x86_64 |
- | 1.13.8 | 2.0.3 | |
sherpa_onnx_ios |
- | 1.13.8 | 2.0.3 | |
sherpa_onnx_linux |
- | 1.13.8 | 2.0.3 | |
sherpa_onnx_macos |
- | 1.13.8 | 2.0.3 | |
sherpa_onnx_web |
- | 1.13.8 | 2.0.3 | |
sherpa_onnx_windows |
- | 1.13.8 | 2.0.3 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.15 | 0.7.15 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
typed_isolate |
- | 6.0.0 | 6.0.0 | |
uuid |
- | 4.6.0 | 4.6.0 | |
vector_math |
- | 2.4.4 | 2.4.4 | |
web |
- | 1.1.2 | 1.1.2 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 7.1.0 | 7.1.0 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.13.8` on sherpa_onnx does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions sherpa_onnx to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.50.1, Dart 3.14.0.
Check the analysis log for details.