uvc 1.2.0
uvc: ^1.2.0 copied to clipboard
A Dart package for controlling UVC compliant webcams on macOS and Windows.
We analyzed this package 12 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
121 out of 183 API elements (66.1 %) have documentation comments.
Some symbols that are missing documentation: uvc, uvc.IntExt, uvc.IntExt.toHexAbbr, uvc.REQ_TYPE_GET, uvc.REQ_TYPE_SET.
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:uvc/uvc.dartthat imports:package:uvc/src/uvc_lib.dartthat imports:package:uvc/src/uvc_control.dartthat imports:package:uvc/src/uvc_device.dartthat imports:package:uvc/src/usb_device.dartthat imports:package:libusb/libusb64.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `iOS`.
Because:
package:uvc/uvc.dartthat imports:package:uvc/src/uvc_lib.dartthat imports:package:uvc/src/uvc_control.dartthat imports:package:uvc/src/uvc_device.dartthat imports:package:uvc/src/usb_device.dartthat imports:package:libusb/libusb64.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `Web`.
Because:
package:uvc/uvc.dartthat imports:package:uvc/src/uvc_lib.dartthat imports:package:uvc/src/uvc_control.dartthat imports:package:uvc/src/uvc_device.dartthat imports:package:uvc/src/usb_device.dartthat imports:package:libusb/libusb64.dartthat declares support for platforms:Windows,Linux,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Statements in an if should be enclosed in a block.
lib/src/usb_configuration_descriptor_ext.dart:43:38
╷
43 │ libusb_error.LIBUSB_SUCCESS) return null;
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/usb_configuration_descriptor_ext.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/usb_device_descriptor_ext.dart:16:38
╷
16 │ libusb_error.LIBUSB_SUCCESS) return null;
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/usb_device_descriptor_ext.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
equatable |
^2.0.5 |
2.0.8 | 2.0.8 | |
ffi |
^1.2.1 |
1.2.1 | 2.1.5 | |
libusb |
^0.3.23+2 |
0.3.23+2 | 0.3.23+2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
meta |
- | 1.17.0 | 1.17.0 | |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.2.1` on ffi does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions ffi 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.23.5, Dart 3.10.7.
Check the analysis log for details.