uvc 1.2.0 copy "uvc: ^1.2.0" to clipboard
uvc: ^1.2.0 copied to clipboard

A Dart package for controlling UVC compliant webcams on macOS and Windows.

2
likes
140/ 160
pub points
32
downloads

We analyzed this package 4 days ago, and awarded it 140 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that imports:
  • package:uvc/src/uvc_lib.dart that imports:
  • package:uvc/src/uvc_control.dart that imports:
  • package:uvc/src/uvc_device.dart that imports:
  • package:uvc/src/usb_device.dart that imports:
  • package:libusb/libusb64.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:uvc/uvc.dart that imports:
  • package:uvc/src/uvc_lib.dart that imports:
  • package:uvc/src/uvc_control.dart that imports:
  • package:uvc/src/uvc_device.dart that imports:
  • package:uvc/src/usb_device.dart that imports:
  • package:libusb/libusb64.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:uvc/uvc.dart that imports:
  • package:uvc/src/uvc_lib.dart that imports:
  • package:uvc/src/uvc_control.dart that imports:
  • package:uvc/src/uvc_device.dart that imports:
  • package:uvc/src/usb_device.dart that imports:
  • package:libusb/libusb64.dart that declares support for platforms: Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:uvc/uvc.dart that imports:
  • package:uvc/src/uvc_lib.dart that imports:
  • package:uvc/src/uvc_control.dart that imports:
  • package:uvc/src/uvc_device.dart that imports:
  • package:uvc/src/usb_device.dart that imports:
  • package:libusb/libusb64.dart that imports:
  • dart:ffi

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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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;
   │                                      ^^^^^^^^^^^^
   ╵
copied to clipboard

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;
   │                                      ^^^^^^^^^^^^
   ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/usb_device_descriptor_ext.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 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.7 2.0.7
ffi ^1.2.1 1.2.1 2.1.4
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.16.0 1.16.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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 23Jul 21Aug 18Sep 15Oct 13Nov 10Dec 8Jan 5Feb 2Mar 20102030405060708090>=1.0.0-0 <2.0.0
2
likes
140
points
32
downloads

Publisher

verified publisherlarryaasen.com

Weekly Downloads

2024.09.08 - 2025.03.23

A Dart package for controlling UVC compliant webcams on macOS and Windows.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

convert, equatable, ffi, libusb

More

Packages that depend on uvc