qr_code_scanner_ohos 1.0.0
qr_code_scanner_ohos: ^1.0.0 copied to clipboard
QR code scanner that can be embedded inside flutter. It uses zxing in Ohos.
We analyzed this package 20 hours ago, and awarded it 60 pub points (of a possible 160):
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: BSD-2-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
31 out of 64 API elements (48.4 %) have documentation comments.
Some symbols that are missing documentation: qr_code_scanner_ohos
, qr_code_scanner_ohos.Barcode.Barcode.new
, qr_code_scanner_ohos.Barcode.code
, qr_code_scanner_ohos.Barcode.format
, qr_code_scanner_ohos.BarcodeFormat
.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:qr_code_scanner_ohos/qr_code_scanner_ohos.dart
that declares support for platforms: .
Package does not support platform `iOS`.
Because:
package:qr_code_scanner_ohos/qr_code_scanner_ohos.dart
that declares support for platforms: .
Package does not support platform `Windows`.
Because:
package:qr_code_scanner_ohos/qr_code_scanner_ohos.dart
that declares support for platforms: .
Package does not support platform `Linux`.
Because:
package:qr_code_scanner_ohos/qr_code_scanner_ohos.dart
that declares support for platforms: .
Package does not support platform `macOS`.
Because:
package:qr_code_scanner_ohos/qr_code_scanner_ohos.dart
that declares support for platforms: .
Package does not support platform `Web`.
Because:
package:qr_code_scanner_ohos/qr_code_scanner_ohos.dart
that declares support for platforms: .
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 14 issues. Showing the first 2:
ERROR: Case expressions must be constant.
lib/src/qr_code_scanner.dart:127:14
╷
127 │ case TargetPlatform.ohos:
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/qr_code_scanner.dart
ERROR: There's no constant named 'ohos' in 'TargetPlatform'.
lib/src/qr_code_scanner.dart:127:29
╷
127 │ case TargetPlatform.ohos:
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/qr_code_scanner.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
js |
^0.6.3 |
0.6.7 | 0.7.2 | Discontinued |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
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.3` on js does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions js
to update the constraint.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- js.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 5 errors:
NON_CONSTANT_CASE_EXPRESSION
-lib/src/qr_code_scanner.dart:127:14
- Case expressions must be constant.UNDEFINED_ENUM_CONSTANT
-lib/src/qr_code_scanner.dart:127:29
- There's no constant named 'ohos' in 'TargetPlatform'.UNDEFINED_METHOD
-lib/src/qr_code_scanner.dart:128:28
- The method 'OhosView' isn't defined for the type '_QRViewState'.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.