mindspore_lite_flutter 1.0.4
mindspore_lite_flutter: ^1.0.4 copied to clipboard
Flutter plugin for on-device AI inference using Huawei MindSpore Lite 1.7.0. Image classification on Android ARM64. No internet required.
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
12 out of 20 API elements (60.0 %) have documentation comments.
Some symbols that are missing documentation: mindspore_lite_flutter, mindspore_lite_flutter.MindsporeLiteFlutter.MindsporeLiteFlutter.new, mindspore_lite_flutter_method_channel, mindspore_lite_flutter_method_channel.MethodChannelMindsporeLiteFlutter.MethodChannelMindsporeLiteFlutter.new, mindspore_lite_flutter_method_channel.MethodChannelMindsporeLiteFlutter.getPlatformVersion.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:mindspore_lite_flutter/mindspore_lite_flutter.dartthat declares support for platforms:Android.
Package does not support platform `Windows`.
Because:
package:mindspore_lite_flutter/mindspore_lite_flutter.dartthat declares support for platforms:Android.
Package does not support platform `Linux`.
Because:
package:mindspore_lite_flutter/mindspore_lite_flutter.dartthat declares support for platforms:Android.
Package does not support platform `macOS`.
Because:
package:mindspore_lite_flutter/mindspore_lite_flutter.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:mindspore_lite_flutter/mindspore_lite_flutter.dartthat declares support for platforms:Android.
Built-in Kotlin support:
Legacy Kotlin configuration detected in `android/build.gradle`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Don't invoke 'print' in production code.
lib/mindspore_lite_flutter.dart:31:7
╷
31 │ print('MindsporeLiteFlutter.initModel failed: ${e.message}');
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/mindspore_lite_flutter.dart
INFO: Don't invoke 'print' in production code.
lib/mindspore_lite_flutter.dart:47:7
╷
47 │ print('MindsporeLiteFlutter.predictImage failed: ${e.message}');
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/mindspore_lite_flutter.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
plugin_platform_interface |
^2.1.0 |
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.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
vector_math |
- | 2.4.3 | 2.4.3 |
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.19, Flutter 3.47.4, Dart 3.13.3.
Check the analysis log for details.