flutter_gpt_engine 0.0.8
flutter_gpt_engine: ^0.0.8 copied to clipboard
Headless Flutter package for running GGUF LLMs locally on Android with streaming, conversation history, web search, device context, thinking support, benchmarking, and CPU/GPU auto-tuning.
We analyzed this package 25 hours ago, and awarded it 130 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
50 out of 205 API elements (24.4 %) have documentation comments.
Some symbols that are missing documentation: flutter_gpt_engine, flutter_gpt_engine.DeviceContextConfig, flutter_gpt_engine.DeviceContextConfig.DeviceContextConfig.new, flutter_gpt_engine.DeviceContextConfig.basicCacheDuration, flutter_gpt_engine.DeviceContextConfig.copyWith.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_gpt_engine/flutter_gpt_engine.dartthat imports:package:flutter_gpt_engine/src/local_llm_client.dartthat imports:package:flutter_gpt_engine/src/device_context_service.dartthat imports:package:sensors_plus/sensors_plus.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:flutter_gpt_engine/flutter_gpt_engine.dartthat imports:package:flutter_gpt_engine/src/local_llm_client.dartthat imports:package:flutter_gpt_engine/src/device_context_service.dartthat imports:package:sensors_plus/sensors_plus.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:flutter_gpt_engine/flutter_gpt_engine.dartthat imports:package:flutter_gpt_engine/src/local_llm_client.dartthat imports:package:flutter_gpt_engine/src/device_context_service.dartthat imports:package:sensors_plus/sensors_plus.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Web`.
Because:
package:flutter_gpt_engine/flutter_gpt_engine.dartthat imports:package:flutter_gpt_engine/src/local_llm_client.dartthat imports:package:flutter_gpt_engine/src/device_context_service.dartthat imports:package:geolocator/geolocator.dartthat imports:package:geolocator_apple/geolocator_apple.dartthat declares support for platforms:iOS,macOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:flutter_gpt_engine/flutter_gpt_engine.dartthat imports:package:flutter_gpt_engine/src/local_llm_client.dartthat imports:package:flutter_gpt_engine/src/device_context_service.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:flutter_gpt_engine/flutter_gpt_engine.dartthat imports:package:flutter_gpt_engine/src/local_llm_client.dartthat imports:package:flutter_gpt_engine/src/device_context_service.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Use an initializing formal to assign a parameter to a field.
lib/src/device_context_service.dart:21:8
╷
21 │ }) : _config = config;
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/device_context_service.dart
INFO: Use the null-aware marker '?' rather than a null check via an 'if'.
lib/src/device_context_service.dart:414:7
╷
414 │ if (saver != null) 'battery saver': saver,
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/device_context_service.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
battery_plus |
^6.2.3 |
6.2.3 | 7.1.1 | |
connectivity_plus |
^6.1.5 |
6.1.5 | 7.3.1 | |
device_info_plus |
^11.5.0 |
11.5.0 | 13.2.0 | |
file_picker |
^10.3.10 |
10.3.10 | 13.1.0 | |
geocoding |
^5.0.0 |
5.0.0 | 5.0.0 | |
geolocator |
14.0.2 |
14.0.2 | 14.0.3 | |
html |
^0.15.7 |
0.15.7 | 0.15.7 | |
llama_flutter_android |
^0.2.6 |
0.2.6 | 0.2.6 | |
package_info_plus |
^8.3.1 |
8.3.1 | 10.2.1 | |
path_provider |
^2.1.4 |
2.1.6 | 2.1.6 | |
sensors_plus |
^6.1.2 |
6.1.2 | 7.1.0 | |
system_info2 |
^4.1.0 |
4.1.0 | 4.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
battery_plus_platform_interface |
- | 2.0.1 | 2.0.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
code_assets |
- | 2.1.0 | 2.1.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 2.1.0 | 2.1.0 | |
cross_file |
- | 0.3.5+5 | 0.4.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dbus |
- | 0.7.15 | 0.8.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 8.1.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_plugin_android_lifecycle |
- | 2.0.35 | 2.0.35 | |
geoclue |
- | 0.1.1 | 0.1.1 | |
geocoding_android |
- | 5.1.0 | 5.1.0 | |
geocoding_darwin |
- | 1.0.3 | 1.0.3 | |
geocoding_platform_interface |
- | 5.0.0 | 5.0.0 | |
geolocator_android |
- | 5.0.3 | 5.0.3 | |
geolocator_apple |
- | 2.3.14 | 2.3.14 | |
geolocator_linux |
- | 0.2.3 | 0.2.6 | |
geolocator_platform_interface |
- | 4.3.0 | 4.3.0 | |
geolocator_web |
- | 4.1.4 | 4.1.4 | |
geolocator_windows |
- | 0.2.5 | 0.2.5 | |
globbing |
- | 1.0.0 | 1.0.0 | Discontinued |
gsettings |
- | 0.2.8 | 0.2.9 | |
hooks |
- | 2.2.0 | 2.2.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
jni |
- | 1.0.3 | 1.0.3 | |
jni_flutter |
- | 1.0.3 | 1.0.3 | |
jni_util |
- | 1.0.0 | 1.0.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
nm |
- | 0.5.0 | 0.6.0 | |
objective_c |
- | 9.6.0 | 9.6.0 | |
package_config |
- | 3.0.0 | 3.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 4.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
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.0.2 | 7.0.2 | |
platform |
- | 3.2.0 | 3.2.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
record_use |
- | 1.1.1 | 1.1.1 | |
sensors_plus_platform_interface |
- | 2.0.2 | 2.0.2 | |
source_span |
- | 1.10.2 | 1.10.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 | |
upower |
- | 0.7.0 | 0.7.0 | |
uuid |
- | 4.6.0 | 4.6.0 | |
vector_math |
- | 2.4.3 | 2.4.3 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 6.4.0 | |
win32_registry |
- | 2.1.0 | 3.0.3 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 7.0.1 | 7.0.1 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 7 issues. Showing the first 2:
The constraint `^6.2.3` on battery_plus does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions battery_plus to update the constraint.
The constraint `^6.1.5` on connectivity_plus does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus 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.47.4, Dart 3.13.3.
Check the analysis log for details.