sensor_based_nav 2.3.0
sensor_based_nav: ^2.3.0 copied to clipboard
A Flutter package for sensor-based navigation using ONNX models.
We analyzed this package 21 hours ago, and awarded it 115 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("2.3.0").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
16 out of 34 API elements (47.1 %) have documentation comments.
Some symbols that are missing documentation: sensor_based_nav
, sensor_based_nav.NavData
, sensor_based_nav.NavData.NavData.new
, sensor_based_nav.NavData.distance
, sensor_based_nav.NavData.heading
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:sensor_based_nav/sensor_based_nav.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:sensor_based_nav/sensor_based_nav.dart
that declares support for platforms:Android
.
Package does not support platform `Linux`.
Because:
package:sensor_based_nav/sensor_based_nav.dart
that declares support for platforms:Android
.
Package does not support platform `macOS`.
Because:
package:sensor_based_nav/sensor_based_nav.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:sensor_based_nav/sensor_based_nav.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:sensor_based_nav/sensor_based_nav.dart
that imports:package:sensor_based_nav/src/model3/sensor_based_nav_controller3.dart
that imports:package:sensor_based_nav/src/model3/onnx_model_3.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:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 28 issues. Showing the first 2:
WARNING: The value of the field '_predictionTimer' isn't used.
lib/src/model1/sensor_based_nav_controller1.dart:39:10
╷
39 │ Timer? _predictionTimer;
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/model1/sensor_based_nav_controller1.dart
WARNING: The method doesn't override an inherited method.
lib/src/model1/sensor_based_nav_controller1.dart:176:8
╷
176 │ void dispose() {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/model1/sensor_based_nav_controller1.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutter_onnxruntime |
^1.4.0 |
1.5.2 | 1.5.2 | |
geodesy |
^0.10.2 |
0.10.2 | 0.10.2 | |
geolocator |
^13.0.2 |
13.0.4 | 14.0.2 | |
provider |
^6.0.5 |
6.1.5+1 | 6.1.5+1 | |
sensors_plus |
^6.1.1 |
6.1.2 | 7.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
geolocator_android |
- | 4.6.2 | 5.0.2 | |
geolocator_apple |
- | 2.3.13 | 2.3.13 | |
geolocator_platform_interface |
- | 4.2.6 | 4.2.6 | |
geolocator_web |
- | 4.1.3 | 4.1.3 | |
geolocator_windows |
- | 0.2.5 | 0.2.5 | |
intl |
- | 0.20.2 | 0.20.2 | |
latlong2 |
- | 0.9.1 | 0.9.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.18 | 2.2.18 | |
path_provider_foundation |
- | 2.4.2 | 2.4.2 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
sensors_plus_platform_interface |
- | 2.0.1 | 2.0.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^13.0.2` on geolocator does not support the stable version `14.0.0`.
Try running dart pub upgrade --major-versions geolocator
to update the constraint.
The constraint `^6.1.1` on sensors_plus does not support the stable version `7.0.0`, that was published 21 days ago.
When sensors_plus is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions sensors_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.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.