on_device_ai 0.2.0
on_device_ai: ^0.2.0 copied to clipboard
A cross-platform Flutter plugin for on-device AI/ML inference. Supports text sentiment analysis and image classification using Apple frameworks (iOS) and TensorFlow Lite (Android).
We analyzed this package 2 days ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
33 out of 39 API elements (84.6 %) have documentation comments.
Some symbols that are missing documentation: on_device_ai, on_device_ai.OnDeviceAi.OnDeviceAi.new, on_device_ai_method_channel, on_device_ai_method_channel.MethodChannelOnDeviceAi.MethodChannelOnDeviceAi.new, on_device_ai_method_channel.MethodChannelOnDeviceAi.eventChannel.
10/10 points: Package has an example
10/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:on_device_ai/on_device_ai.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:on_device_ai/on_device_ai.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:on_device_ai/on_device_ai.dartthat declares support for platforms:Android,iOS,macOS.
Swift Package Manager support:
Package does not support the Swift Package Manager on macOS
The package does not contain macos/on_device_ai/Package.swift.
Package does not support the Swift Package Manager on iOS
The package does not contain ios/on_device_ai/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.
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.2 | |
vector_math |
- | 2.2.0 | 2.3.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.12, Flutter 3.44.0, Dart 3.12.0.
Check the analysis log for details.