decision_ai 1.0.0 copy "decision_ai: ^1.0.0" to clipboard
decision_ai: ^1.0.0 copied to clipboard

Typed decisions (jev-style) in Flutter: choice, noul and score answered by on-device or in-browser models of any family, or by any Decision API provider.

150/ 160
pub points
--
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

97 out of 195 API elements (49.7 %) have documentation comments.

Some symbols that are missing documentation: decision_ai.Answer.Answer.choice, decision_ai.Answer.Answer.noul, decision_ai.Answer.Answer.score, decision_ai.Answer.choice, decision_ai.Answer.confidence.

Passed check 10/10 points: Package has an example and has no issues with screenshots

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:decision_ai/decision_ai.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

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

Because:

  • package:decision_ai/decision_ai.dart that declares support for platforms: Android, iOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Web`.

Because:

  • package:decision_ai/decision_ai.dart that imports:
  • package:decision_ai/src/runtime.dart that imports:
  • package:flutter_onnxruntime/flutter_onnxruntime.dart that imports:
  • package:flutter_onnxruntime/src/onnxruntime.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:decision_ai/decision_ai.dart that imports:
  • package:decision_ai/src/runtime.dart that imports:
  • package:flutter_onnxruntime/flutter_onnxruntime.dart that imports:
  • package:flutter_onnxruntime/src/onnxruntime.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest Notes
crypto ^3.0.7 3.0.7 3.0.7
flutter_onnxruntime ^1.8.5 1.8.5 1.8.5
http ^1.6.0 1.6.0 1.6.0
path_provider ^2.1.6 2.1.6 2.1.6
unorm_dart ^0.3.2 0.3.2 0.3.2
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
code_assets - 2.1.0 2.1.0
collection - 1.19.1 1.19.1
ffi - 2.2.0 2.2.0
hooks - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
jni - 1.1.0 1.1.0
jni_flutter - 1.0.4 1.0.4
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
objective_c - 9.6.2 9.6.2
package_config - 3.0.0 3.0.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
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
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
vector_math - 2.4.3 2.4.3
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.4 3.1.4

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

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.5, Dart 3.13.4.

Check the analysis log for details.

1
likes
150
points
--
downloads
screenshot

Documentation

API reference

Publisher

verified publisherlukita.me

Typed decisions (jev-style) in Flutter: choice, noul and score answered by on-device or in-browser models of any family, or by any Decision API provider.

Homepage
Repository (GitHub)
View/report issues

Topics

#ai #machine-learning #onnx #on-device #llm

License

MIT (license)

Dependencies

crypto, flutter, flutter_onnxruntime, http, path_provider, unorm_dart

More

Packages that depend on decision_ai