qr_code_vision 0.1.2 copy "qr_code_vision: ^0.1.2" to clipboard
qr_code_vision: ^0.1.2 copied to clipboard

A pure Dart package for QR detection, decoding and tracking.

57
likes
120/ 160
pub points
531
downloads

We analyzed this package 11 hours ago, and awarded it 120 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

67 out of 136 API elements (49.3 %) have documentation comments.

Some symbols that are missing documentation: bit_matrix, bit_matrix.BitMatrix, bit_matrix.BitMatrix.BitMatrix, bit_matrix.BitMatrix.createEmpty, bit_matrix.BitMatrix.get.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ 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.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: _PerspectiveMatrix.length

lib/helpers/perspective_transform.dart:137:7

    ╷
137 │ class _PerspectiveMatrix extends ListBase<double> with EquatableMixin {
    │       ^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.

lib/locate/locate.dart:155:8

    ╷
155 │       .whereNotNull() // Filter out any rejected quads from above
    │        ^^^^^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
20 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
collection ^1.15.0 1.19.1 1.19.1
dart_reed_solomon_nullsafety ^0.2.0 0.2.0 0.2.0
equatable ^2.0.3 2.0.7 2.0.7
image ^4.0.0 4.5.2 4.5.2
Transitive dependencies
Package Constraint Compatible Latest
archive - 4.0.2 4.0.2
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
posix - 6.0.1 6.0.1
typed_data - 1.4.0 1.4.0
xml - 6.5.0 6.5.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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_GETTER - lib/helpers/convert_to_binary.dart:58:46 - The getter 'hasAlpha' isn't defined for the type 'Image'.
  • UNDEFINED_GETTER - lib/helpers/convert_to_binary.dart:216:13 - The getter 'hasAlpha' isn't defined for the type 'Image'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

57
likes
120
points
531
downloads

Publisher

unverified uploader

Weekly Downloads

A pure Dart package for QR detection, decoding and tracking.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

collection, dart_reed_solomon_nullsafety, equatable, image

More

Packages that depend on qr_code_vision