flutter_usb 0.0.4
flutter_usb: ^0.0.4 copied to clipboard
A new Flutter plugin to get information of connected usb devices in json format (MacOS & Linux)
We analyzed this package 6 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/zaai123/flutter_usb
was unreachable. Make sure that the website is reachable via HEAD
requests.
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
4 out of 15 API elements (26.7 %) have documentation comments.
Some symbols that are missing documentation: flutter_usb
, flutter_usb.FlutterUsb
, flutter_usb.FlutterUsb.FlutterUsb.new
, flutter_usb.FlutterUsb.getPlatformVersion
, flutter_usb.FlutterUsb.getUsbJson
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:flutter_usb/flutter_usb.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `iOS`.
Because:
package:flutter_usb/flutter_usb.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `Web`.
Because:
package:flutter_usb/flutter_usb.dart
that declares support for platforms:Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_usb/flutter_usb.dart
that imports:package:process_run/process_run.dart
that imports:package:process_run/which.dart
that imports:package:process_run/src/which.dart
that imports:package:process_run/src/shell_environment.dart
that imports:package:process_run/src/shell_environment_common.dart
that imports:package:process_run/shell.dart
that imports:package:process_run/utils/process_result_extension.dart
that imports:package:process_run/src/lines_utils.dart
that imports:package:process_run/src/lines_utils_common.dart
that imports:package:process_run/src/common/import.dart
that imports:package:process_run/src/common/dartbin.dart
that imports:package:process_run/src/io/io.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.dev/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on macOS
It does not contain macos/flutter_usb/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:developer'.
lib/flutter_usb.dart:2:8
╷
2 │ import 'dart:developer';
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_usb.dart
/tmp/pana_ZLOTTF/lib/flutter_usb_method_channel.dart doesn't match the Dart formatter.
To format your files run: dart format .
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 | |
process_run |
^1.1.0 |
1.2.4 | 1.2.4 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.3.1 | 3.3.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
yaml |
- | 3.1.3 | 3.1.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.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.