hardware_sensor_flutter 0.0.1
hardware_sensor_flutter: ^0.0.1 copied to clipboard
A Flutter Project to access all andoird.hardware sensors
We analyzed this package 10 hours ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
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
21 out of 36 API elements (58.3 %) have documentation comments.
Some symbols that are missing documentation: hardware_sensors, hardware_sensors.AccelerometerEvent.AccelerometerEvent.fromList, hardware_sensors.GravityEvent, hardware_sensors.GravityEvent.GravityEvent.fromList, hardware_sensors.GravityEvent.GravityEvent.new.
10/10 points: Package has an example
20/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:hardware_sensor_flutter/hardware_sensors.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:hardware_sensor_flutter/hardware_sensors.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:hardware_sensor_flutter/hardware_sensors.dartthat declares support for platforms:Android,iOS,Web.
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/hardware_sensor_flutter/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: Unused import: 'dart:math'.
lib/hardware_sensors.dart:2:8
╷
2 │ import 'dart:math' as math;
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/hardware_sensors.dart
WARNING: Unused import: 'package:vector_math/vector_math_64.dart'.
lib/hardware_sensors.dart:4:8
╷
4 │ import 'package:vector_math/vector_math_64.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/hardware_sensors.dart
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 | |
vector_math |
^2.1.0 |
2.2.0 | 2.2.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.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.8, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.