qr_scanner_plus 0.2.0+4
qr_scanner_plus: ^0.2.0+4 copied to clipboard
Qr scanner plus
We analyzed this package 4 hours ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
140 out of 157 API elements (89.2 %) have documentation comments.
Some symbols that are missing documentation: qr_scanner_plus, qr_scanner_plus.BarcodeFormatValue, qr_scanner_plus.BarcodeFormatValue.fromRawValue, qr_scanner_plus.BarcodeFormatValue.rawValue, qr_scanner_plus.BarcodeValue.BarcodeValue.new.
10/10 points: Package has 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_scanner_plus/qr_scanner_plus.dartthat imports:package:qr_scanner_plus/src/camera/painters/barcode_detector_painter.dartthat imports:package:qr_scanner_plus/src/camera/painters/coordinates_translator.dartthat imports:package:google_mlkit_commons/google_mlkit_commons.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:qr_scanner_plus/qr_scanner_plus.dartthat imports:package:qr_scanner_plus/src/camera/painters/barcode_detector_painter.dartthat imports:package:qr_scanner_plus/src/camera/painters/coordinates_translator.dartthat imports:package:google_mlkit_commons/google_mlkit_commons.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:qr_scanner_plus/qr_scanner_plus.dartthat imports:package:qr_scanner_plus/src/camera/painters/barcode_detector_painter.dartthat imports:package:qr_scanner_plus/src/camera/painters/coordinates_translator.dartthat imports:package:google_mlkit_commons/google_mlkit_commons.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:qr_scanner_plus/qr_scanner_plus.dartthat imports:package:qr_scanner_plus/src/camera/painters/barcode_detector_painter.dartthat imports:package:qr_scanner_plus/src/camera/painters/coordinates_translator.dartthat imports:package:google_mlkit_commons/google_mlkit_commons.dartthat declares support for platforms:Android,iOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:qr_scanner_plus/qr_scanner_plus.dartthat imports:package:qr_scanner_plus/src/camera/painters/barcode_detector_painter.dartthat imports:package:qr_scanner_plus/src/camera/painters/coordinates_translator.dartthat imports:package:google_mlkit_commons/google_mlkit_commons.dartthat imports:package:google_mlkit_commons/src/input_image.dartthat 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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 40 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: QrScannerPlusView.debug, QrScannerPlusView.multiCodeSelect
lib/qr_scanner_plus.dart:8:7
╷
8 │ class QrScannerPlusView extends StatefulWidget {
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/qr_scanner_plus.dart
WARNING: The declaration '_backButton' isn't referenced.
lib/src/camera/camera_view.dart:185:10
╷
185 │ Widget _backButton() => Positioned(
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/camera/camera_view.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
camera |
^0.10.5+3 |
0.10.6 | 0.11.2+1 | |
event_bus |
^2.0.0 |
2.0.1 | 2.0.1 | |
get |
^4.6.5 |
4.7.2 | 4.7.2 | |
google_mlkit_barcode_scanning |
^0.14.1 |
0.14.1 | 0.14.1 | |
google_mlkit_commons |
^0.11.0 |
0.11.0 | 0.11.0 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
path_provider |
^2.0.9 |
2.1.5 | 2.1.5 | |
permission_handler |
^12.0.1 |
12.0.1 | 12.0.1 | |
sensors_plus |
^7.0.0 |
7.0.0 | 7.0.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.10.5+3` on camera does not support the stable version `0.11.0`.
Try running dart pub upgrade --major-versions camera 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.22.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.