dan_barcode_scan 1.0.1 dan_barcode_scan: ^1.0.1 copied to clipboard
A flutter plugin for scanning 2D barcodes and QRCodes via camera.
We analyzed this package 7 days ago, and awarded it 100 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/deivinson7059/dan_barcode_scan
was unreachable. Make sure that the website is reachable via HEAD
requests.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: dan_barcode_scan
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Failed to run remote show origin
.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting dan_barcode_scan... Discovering libraries... Linking elements... Precaching local docs for 595042 elements... Initialized dartdoc with 739 libraries Generating docs for library dan_barcode_scan.dart from package:dan_barcode_scan/dan_barcode_scan.dart... Generating docs for library model/android_options.dart from package:dan_barcode_scan/model/android_options.dart... Generating docs for library model/scan_result.dart from package:dan_barcode_scan/model/scan_result.dart... Generating docs for library model/model.dart from package:dan_barcode_scan/model/model.dart... Generating docs for library model/scan_options.dart from package:dan_barcode_scan/model/scan_options.dart... [6 more lines] ERR: warning: unresolved doc reference [barcode_scan] from package-dan_barcode_scan: file:///tmp/pana_NEKMGN warning: unresolved doc reference [x] from package-dan_barcode_scan: file:///tmp/pana_NEKMGN error: file already written at "mintware.barcode_scan/mintware.barcode_scan-library.html" for symbol mintware.barcode_scan: (file:///tmp/pana_NEKMGN/lib/model/model.dart:2:9) conflicting with file already generated by mintware.barcode_scan: (file:///tmp/pana_NEKMGN/lib/dan_barcode_scan.dart:2:9) Dartdoc generates a path and filename to write to for each symbol. 'mintware.barcode_scan' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library [13 more lines]
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:dan_barcode_scan/dan_barcode_scan.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:dan_barcode_scan/dan_barcode_scan.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:dan_barcode_scan/dan_barcode_scan.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:dan_barcode_scan/dan_barcode_scan.dart
that declares support for platforms:Android
,iOS
.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/gen/protos/protos.pb.dart:1:1
╷
1 │ ///
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/gen/protos/protos.pb.dart
INFO: 'copyWith' is deprecated and shouldn't be used. Using this can add significant size overhead to your binary. Use [GeneratedMessageGenericExtensions.rebuild] instead. Will be removed in next major version.
lib/gen/protos/protos.pb.dart:28:87
╷
28 │ AndroidConfiguration copyWith(void Function(AndroidConfiguration) updates) => super.copyWith((message) => updates(message as AndroidConfiguration)) as AndroidConfiguration;
│ ^^^^^^^^
╵
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
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
protobuf |
^2.0.0 |
2.1.0 | 3.1.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.18.0 |
fixnum |
- | 1.1.0 | 1.1.0 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.14.0 |
sky_engine |
- | 0.0.99 | 0.0.99 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^2.0.0` on protobuf does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions protobuf
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.19.5
, Dart 3.3.3
.
Check the analysis log for details.