raw_scanner 1.0.3+3
raw_scanner: ^1.0.3+3 copied to clipboard
A simplified barcode/QR scanner/generator.
We analyzed this package 33 hours ago, and awarded it 75 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
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.3+3").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
8 out of 37 API elements (21.6 %) have documentation comments.
Some symbols that are missing documentation: main
, main.Runner
, main.Runner.Runner.new
, main.Test
, main.Test.Test.new
.
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:raw_scanner/raw_scanner.dart
that imports:package:raw_scanner/scanner.dart
that imports:package:qr_code_scanner/qr_code_scanner.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:raw_scanner/raw_scanner.dart
that imports:package:raw_scanner/scanner.dart
that imports:package:qr_code_scanner/qr_code_scanner.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:raw_scanner/raw_scanner.dart
that imports:package:raw_scanner/scanner.dart
that imports:package:qr_code_scanner/qr_code_scanner.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:raw_scanner/raw_scanner.dart
that imports:package:raw_scanner/scanner.dart
that imports:package:qr_code_scanner/qr_code_scanner.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 19 issues. Showing the first 2:
ERROR: The argument type 'QrImage' can't be assigned to the parameter type 'Widget?'.
lib/raw_scanner.dart:29:16
╷
29 │ child: QrImage(
│ ┌────────────────^
30 │ │ data: data,
31 │ │ size: size,
32 │ │ padding: padding,
33 │ │ backgroundColor: backgroundColor,
34 │ │ foregroundColor: foregroundColor,
35 │ │ version: version,
36 │ │ errorCorrectionLevel: errorCorrectionLevel,
37 │ │ errorStateBuilder: errorStateBuilder,
38 │ │ constrainErrorBounds: constrainErrorBounds,
39 │ │ gapless: gapless,
40 │ │ embeddedImage: embeddedImage,
41 │ │ embeddedImageStyle: embeddedImageStyle,
42 │ │ semanticsLabel: semanticsLabel,
│ └────────────────────────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/raw_scanner.dart
ERROR: 1 positional argument expected by 'QrImage.new', but 0 found.
lib/raw_scanner.dart:30:11
╷
30 │ data: data,
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/raw_scanner.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
qr_code_scanner |
^0.6.1 |
0.6.1 | 1.0.1 | |
qr_flutter |
^4.0.0 |
4.1.0 | 4.1.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
qr |
- | 3.0.2 | 3.0.2 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.6.1` on qr_code_scanner does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions qr_code_scanner
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.23
, Flutter 3.35.4
, Dart 3.9.2
.
Check the analysis log for details.