ai_barcode_scanner 0.0.7
ai_barcode_scanner: ^0.0.7 copied to clipboard
A universal AI barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS.
We analyzed this package 2 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
pubspec.yaml from the repository URL mismatch: expected https://github.com/mohesu/barcode_scanner but got https://github.com/itsarvinddev/barcode_scanner.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: ai_barcode_scanner, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
247 out of 258 API elements (95.7 %) have documentation comments.
Some symbols that are missing documentation: ai_barcode_scanner, ai_barcode_scanner.AiBarcodeScanner.AiBarcodeScanner.new, ai_barcode_scanner.MobileScannerArguments.MobileScannerArguments.new, ai_barcode_scanner.MobileScannerController.MobileScannerController.new, ai_barcode_scanner.MobileScannerController.barcodes.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:ai_barcode_scanner/ai_barcode_scanner.dartthat imports:package:mobile_scanner/mobile_scanner.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:ai_barcode_scanner/ai_barcode_scanner.dartthat imports:package:mobile_scanner/mobile_scanner.dartthat declares support for platforms:Android,iOS,macOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:ai_barcode_scanner/ai_barcode_scanner.dartthat imports:package:mobile_scanner/mobile_scanner.dartthat imports:package:mobile_scanner/src/mobile_scanner_controller.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:ai_barcode_scanner/ai_barcode_scanner.dartthat imports:package:mobile_scanner/mobile_scanner.dartthat imports:package:mobile_scanner/src/mobile_scanner_controller.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/ai_barcode_scanner.dart:293:45
╷
293 │ ? widget.successColor.withOpacity(0.4)
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ai_barcode_scanner.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/ai_barcode_scanner.dart:295:47
╷
295 │ ? widget.errorColor.withOpacity(0.4)
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ai_barcode_scanner.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
mobile_scanner |
^3.3.0 |
3.5.7 | 7.1.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.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 `^3.3.0` on mobile_scanner does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions mobile_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.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.