flex_license_scanner 0.0.6
flex_license_scanner: ^0.0.6 copied to clipboard
A customizable OCR scanning interface for Driving Licenses and ID cards with a rectangular focus frame and laser animation.
We analyzed this package 5 days ago, and awarded it 125 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.6").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
5 out of 23 API elements (21.7 %) have documentation comments.
Some symbols that are missing documentation: flex_license_scanner, flex_license_scanner.LicenseData, flex_license_scanner.LicenseData.LicenseData.new, flex_license_scanner.LicenseData.expiryDate, flex_license_scanner.LicenseData.issueDate.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:flex_license_scanner/flex_license_scanner.dartthat imports:package:flex_license_scanner/src/data/datasources/license_ocr_service.dartthat imports:package:google_mlkit_text_recognition/google_mlkit_text_recognition.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:flex_license_scanner/flex_license_scanner.dartthat imports:package:flex_license_scanner/src/data/datasources/license_ocr_service.dartthat imports:package:google_mlkit_text_recognition/google_mlkit_text_recognition.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:flex_license_scanner/flex_license_scanner.dartthat imports:package:flex_license_scanner/src/data/datasources/license_ocr_service.dartthat imports:package:google_mlkit_text_recognition/google_mlkit_text_recognition.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:flex_license_scanner/flex_license_scanner.dartthat imports:package:flex_license_scanner/src/data/datasources/license_ocr_service.dartthat imports:package:google_mlkit_text_recognition/google_mlkit_text_recognition.dartthat declares support for platforms:Android,iOS.
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/presentation/license_painter.dart:12:28
╷
12 │ ..color = Colors.black.withOpacity(config.overlayOpacity);
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/presentation/license_painter.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
google_mlkit_text_recognition |
^0.10.0 |
0.10.0 | 0.15.1 | |
image |
^4.2.0 |
4.9.1 | 4.9.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.9 | 4.0.9 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 2.2.0 | 2.2.0 | |
google_mlkit_commons |
- | 0.5.0 | 0.11.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.3 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
posix |
- | 6.5.0 | 6.5.0 | |
vector_math |
- | 2.2.0 | 2.4.0 | |
xml |
- | 7.0.1 | 7.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.10.0` on google_mlkit_text_recognition does not support the stable version `0.11.0`.
Try running dart pub upgrade --major-versions google_mlkit_text_recognition 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.12, Flutter 3.44.2, Dart 3.12.2.
Check the analysis log for details.