barcode_scanner_pro 0.3.0
barcode_scanner_pro: ^0.3.0 copied to clipboard
High-performance, offline barcode & QR scanner for Flutter using CameraX + ML Kit (Android) and AVFoundation + Vision (iOS) via native PlatformViews.
We analyzed this package 2 days ago, and awarded it 120 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
161 out of 383 API elements (42.0 %) have documentation comments.
Some symbols that are missing documentation: barcode_scanner_pro.BarcodeDecodeResult.BarcodeDecodeResult.new, barcode_scanner_pro.BarcodeDecodeResult.cornerPoints, barcode_scanner_pro.BarcodeDecodeResult.format, barcode_scanner_pro.BarcodeDecodeResult.rawBytes, barcode_scanner_pro.BarcodeDecodeResult.value.
10/10 points: Package has an example
10/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:barcode_scanner_pro/barcode_scanner_pro.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:barcode_scanner_pro/barcode_scanner_pro.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:barcode_scanner_pro/barcode_scanner_pro.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:barcode_scanner_pro/barcode_scanner_pro.dartthat declares support for platforms:Android,iOS.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
The package does not contain ios/barcode_scanner_pro/Package.swift.
Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.
Built-in Kotlin support:
Legacy Kotlin configuration detected in `android/build.gradle.kts`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/src/generator/generator_service.dart:75:7
╷
75 │ return File(path).writeAsBytes(bytes);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/generator/generator_service.dart
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/src/generator/generator_service.dart:84:7
╷
84 │ return File(path).writeAsString(contents);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/generator/generator_service.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
barcode |
^2.2.9 |
2.2.9 | 2.2.9 | |
pdf |
^3.11.0 |
3.13.0 | 3.13.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
qr |
^3.0.2 |
3.0.2 | 4.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.9 | 4.3.0 | |
bidi |
- | 2.0.13 | 2.0.13 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.2.0 | 2.2.0 | |
image |
- | 4.10.1 | 4.10.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
posix |
- | 6.5.2 | 6.5.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
xml |
- | 7.0.1 | 7.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.0.2` on qr does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions qr 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.