hid_tool 0.1.1
hid_tool: ^0.1.1 copied to clipboard
A flutter plugin for communicating with HID devices (Human Interface Device)
We analyzed this package 41 hours ago, and awarded it 140 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
99 out of 128 API elements (77.3 %) have documentation comments.
Some symbols that are missing documentation: hid_tool, hid_tool.Hid, hid_tool.Hid.Hid.new, hid_tool.HidAndroid, hid_tool.HidAndroid.HidAndroid.new.
10/10 points: Package has an example
10/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:hid_tool/hid_tool.dartthat declares support for platforms:Android,Windows,Linux,macOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:hid_tool/hid_tool.dartthat imports:package:hid_tool/src/web/hid_web.dartthat imports:package:hid_tool/src/hid_device_events.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:hid_tool/hid_tool.dartthat imports:package:hid_tool/src/web/hid_web.dartthat imports:package:hid_tool/src/hid_device_events.dartthat 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.
Swift Package Manager support:
Package does not support the Swift Package Manager on macOS
The package does not contain macos/hid_tool/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.
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 16 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/src/android/hid_android_stub.dart:1:1
╷
1 │ /// Stub implementation for non-Android platforms.
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/android/hid_android_stub.dart
INFO: Dangling library doc comment.
lib/src/desktop/hid_desktop_stub.dart:1:1
╷
1 │ /// Empty platform stub for non-desktop platforms.
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/desktop/hid_desktop_stub.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.1.0 |
2.2.0 | 2.2.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
web |
^1.1.0 |
1.1.1 | 1.1.1 |
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.3 | |
vector_math |
- | 2.2.0 | 2.4.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.14, Flutter 3.44.4, Dart 3.12.2.
Check the analysis log for details.