ecp_scan_manager 0.0.4
ecp_scan_manager: ^0.0.4 copied to clipboard
二维码扫描管理 Flutter 插件,基于 qr_code_scanner 封装,提供扫码识别与结果处理能力。
We analyzed this package 11 days ago, and awarded it 120 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.
Homepage URL doesn't exist.
At the time of the analysis https://gitlab.ctbiyi.com/ecp/app/ecp_scan_manager was unreachable. Make sure that the website is reachable via HEAD requests.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.
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: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
4 out of 9 API elements (44.4 %) have documentation comments.
Some symbols that are missing documentation: ecp_scan_manager, ecp_scan_manager.EcpScanManager, ecp_scan_manager.EcpScanManager.EcpScanManager.new, ecp_scan_manager.EcpScanManager.onErrorHandle, ecp_scan_manager.ScanCallBack.
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:ecp_scan_manager/ecp_scan_manager.dartthat imports:package:ecp_scan_manager/src/ecp_scan_manager.dartthat imports:package:qr_code_scanner/qr_code_scanner.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:ecp_scan_manager/ecp_scan_manager.dartthat imports:package:ecp_scan_manager/src/ecp_scan_manager.dartthat imports:package:qr_code_scanner/qr_code_scanner.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:ecp_scan_manager/ecp_scan_manager.dartthat imports:package:ecp_scan_manager/src/ecp_scan_manager.dartthat imports:package:qr_code_scanner/qr_code_scanner.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:ecp_scan_manager/ecp_scan_manager.dartthat imports:package:ecp_scan_manager/src/ecp_scan_manager.dartthat imports:package:qr_code_scanner/qr_code_scanner.dartthat declares support for platforms:Android,iOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Don't use 'BuildContext's across async gaps.
lib/src/scan_page.dart:42:21
╷
42 │ Navigator.pop(context, scanData);
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/scan_page.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dict_flutter_extension |
^1.0.0 |
1.0.1 | 1.0.1 | |
ecp_net |
^0.0.1 |
0.0.9 | 0.0.9 | |
flutter_smart_dialog |
^4.0.0 |
4.9.8+10 | 5.3.0 | |
qr_code_scanner |
^1.0.1 |
1.0.1 | 1.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity |
- | 3.0.6 | 3.0.6 | Discontinued |
connectivity_for_web |
- | 0.4.0+1 | 0.4.0+1 | Discontinued |
connectivity_macos |
- | 0.2.1+2 | 0.2.1+2 | |
connectivity_platform_interface |
- | 2.0.1 | 2.0.1 | |
dio |
- | 5.11.1 | 5.11.1 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^4.0.0` on flutter_smart_dialog does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions flutter_smart_dialog 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.0, Dart 3.13.0.
Check the analysis log for details.