barcode_scan 3.0.1
barcode_scan: ^3.0.1 copied to clipboard
A flutter plugin for scanning 2D barcodes and QRCodes via camera.
This package is not analyzed, because it is discontinued.
The package version is not analyzed, because it does not support Dart 3. Until this is resolved, the package will receive a pub score of 0.
We analyzed this package 2 days ago, and awarded it 40 pub points (of a possible 140):
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: Package has an example
0/10 points: Failed to run dartdoc
dartdoc
failed, see task-log.
0/20 points: Platform support detection failed
Could not determine supported platforms as package resolution failed.
Run flutter pub get
for more information.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 123 issues. Showing the first 2:
ERROR: The symbol 'ResultType' is defined in a legacy library, and can't be re-exported from a library with null safety enabled.
lib/barcode_scan.dart:3:8
╷
3 │ export 'gen/protos/protos.pb.dart' show BarcodeFormat, ResultType;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/barcode_scan.dart
ERROR: The language version must be >=2.12.0.
lib/gen/protos/protos.pb.dart:5:1
╷
5 │ // @dart = 2.3
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/gen/protos/protos.pb.dart
0/10 points: All of the package dependencies are supported in the latest version
Sdk constraint doesn't support current Dart version 3.2.0-134.1.beta. Cannot run `flutter pub outdated`.
pubspec.yaml:15:8
╷
15 │ sdk: ">=2.1.0 <3.0.0"
│ ^^^^^^^^^^^^^^^^
╵
0/10 points: Package supports latest stable Dart and Flutter SDKs
Sdk constraint doesn't support current Dart version 3.2.0-134.1.beta.
pubspec.yaml:15:8
╷
15 │ sdk: ">=2.1.0 <3.0.0"
│ ^^^^^^^^^^^^^^^^
╵
Try widening the upper boundary of the constraint.
The current SDK constraint does not allow the Dart version used by the latest stable Flutter (3.1.2)
pubspec.yaml:15:8
╷
15 │ sdk: ">=2.1.0 <3.0.0"
│ ^^^^^^^^^^^^^^^^
╵
Analysed with Pana 0.21.37
, Flutter 3.13.5
, Dart 3.1.2
.