qr_code_dart_scan 0.14.0
qr_code_dart_scan: ^0.14.0 copied to clipboard
A QR code scanner that works on both iOS and Android using dart decoder.
We analyzed this package 12 hours ago, and awarded it 130 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
196 out of 249 API elements (78.7 %) have documentation comments.
Some symbols that are missing documentation: qr_code_dart_scan, qr_code_dart_scan.CroppingStrategy, qr_code_dart_scan.CroppingStrategy.CroppingStrategy.new, qr_code_dart_scan.CroppingStrategy.cropCenterSquare, qr_code_dart_scan.CroppingStrategy.cropReductionMinorAxis.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:qr_code_dart_scan/qr_code_dart_scan.dartthat imports:package:qr_code_dart_scan/src/qr_code_dart_scan_view.dartthat imports:package:qr_code_dart_scan/src/util/extensions.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:qr_code_dart_scan/qr_code_dart_scan.dartthat imports:package:qr_code_dart_scan/src/qr_code_dart_scan_view.dartthat imports:package:qr_code_dart_scan/src/util/extensions.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:qr_code_dart_scan/qr_code_dart_scan.dartthat imports:package:qr_code_dart_scan/src/qr_code_dart_scan_view.dartthat imports:package:qr_code_dart_scan/src/util/extensions.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
Package not compatible with platform Web
Because:
package:qr_code_dart_scan/qr_code_dart_scan.dartthat imports:package:qr_code_dart_scan/src/qr_code_dart_scan_view.dartthat imports:package:qr_code_dart_decoder/qr_code_dart_decoder.dartthat imports:package:qr_code_dart_decoder/src/util/pre_processors/yuv_pre_processor.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/src/decoder/isolate_decoder.dart:81:11
╷
81 │ return isolateController.setYuv420Planess(
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/decoder/isolate_decoder.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
camera |
^0.12.0+2 |
0.12.0+2 | 0.12.0+2 | |
camera_android_camerax |
^0.7.0 |
0.7.4+7 | 0.7.4+7 | |
camera_platform_interface |
^2.13.1 |
2.13.1 | 2.13.1 | |
equatable |
^2.0.5 |
2.1.0 | 2.1.0 | |
image |
^4.5.1 |
4.9.2 | 4.9.2 | |
qr_code_dart_decoder |
^0.3.0 |
0.3.0 | 0.3.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.2.0 | 4.2.0 | |
async |
- | 2.13.1 | 2.13.1 | |
camera_avfoundation |
- | 0.10.3 | 0.10.3 | |
camera_web |
- | 0.3.5+5 | 0.3.5+5 | |
characters |
- | 1.4.1 | 1.4.1 | |
charset |
- | 2.0.1 | 2.0.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5+5 | 0.3.5+5 | |
ffi |
- | 2.2.0 | 2.2.0 | |
flutter_plugin_android_lifecycle |
- | 2.0.35 | 2.0.35 | |
intl |
- | 0.20.3 | 0.20.3 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.5.2 | 6.5.2 | |
stream_transform |
- | 2.1.2 | 2.1.2 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
zxing_lib |
- | 1.1.4 | 1.1.4 |
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.18, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.