w_tools_qr 1.0.0
w_tools_qr: ^1.0.0 copied to clipboard
w_tools 的二维码扫描组件层:基于 qr_code_scanner_plus 提供单次/连续扫描、生命周期暂停恢复、广播扫描流与相机控制。
We analyzed this package 3 days ago, and awarded it 125 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
54 out of 66 API elements (81.8 %) have documentation comments.
Some symbols that are missing documentation: w_tools_qr.Barcode.Barcode.new, w_tools_qr.Barcode.code, w_tools_qr.Barcode.format, w_tools_qr.BarcodeFormat, w_tools_qr.CameraFacing.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:w_tools_qr/w_tools_qr.dartthat imports:package:w_tools_qr/src/qr_view.dartthat imports:package:w_tools_qr/src/qr_controller.dartthat imports:package:qr_code_scanner_plus/qr_code_scanner_plus.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:w_tools_qr/w_tools_qr.dartthat imports:package:w_tools_qr/src/qr_view.dartthat imports:package:w_tools_qr/src/qr_controller.dartthat imports:package:qr_code_scanner_plus/qr_code_scanner_plus.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:w_tools_qr/w_tools_qr.dartthat imports:package:w_tools_qr/src/qr_view.dartthat imports:package:w_tools_qr/src/qr_controller.dartthat imports:package:qr_code_scanner_plus/qr_code_scanner_plus.dartthat declares support for platforms:Android,iOS,Web.
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
qr_code_scanner_plus |
>=2.1.2 <2.2.0 |
2.1.2 | 2.3.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
vector_math |
- | 2.4.4 | 2.4.4 | |
web |
- | 1.1.2 | 1.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `>=2.1.2 <2.2.0` on qr_code_scanner_plus does not support the stable version `2.2.0`.
Try running dart pub upgrade --major-versions qr_code_scanner_plus 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.23.19, Flutter 3.47.7, Dart 3.13.5.
Check the analysis log for details.