flutter_credit_card_scanner 0.12.0
flutter_credit_card_scanner: ^0.12.0 copied to clipboard
A Flutter package that utilizes the device camera to scan and extract credit card information. by using Google ML for Android and Apple Vision for iOS.
We analyzed this package 11 hours ago, and awarded it 145 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.12.0").
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
64 out of 76 API elements (84.2 %) have documentation comments.
Some symbols that are missing documentation: clipper, clipper.OverlayShape, clipper.OverlayShape.OverlayShape.new, credit_card, flutter_credit_card_scanner.
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:flutter_credit_card_scanner/clipper.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:flutter_credit_card_scanner/clipper.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:flutter_credit_card_scanner/clipper.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:flutter_credit_card_scanner/clipper.dartthat declares support for platforms:Android,iOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:flutter_credit_card_scanner/credit_card_scanner.dartthat imports:package:flutter_credit_card_scanner/widget.dartthat imports:package:apple_vision_recognize_text/apple_vision_recognize_text.dartthat declares support for platforms:iOS,macOS.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
The package does not contain ios/flutter_credit_card_scanner/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`.
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.
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
apple_vision_commons |
^0.0.3 |
0.0.3 | 0.0.3 | |
apple_vision_recognize_text |
^0.0.4 |
0.0.4 | 0.1.0 | |
camera |
^0.12.0 |
0.12.0+2 | 0.12.0+2 | |
credit_card_validator |
^2.1.0 |
2.1.0 | 2.1.0 | |
google_mlkit_text_recognition |
^0.15.1 |
0.15.1 | 0.16.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
camera_android_camerax |
- | 0.7.4+4 | 0.7.4+4 | |
camera_avfoundation |
- | 0.10.2 | 0.10.2 | |
camera_platform_interface |
- | 2.13.1 | 2.13.1 | |
camera_web |
- | 0.3.5+4 | 0.3.5+4 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
credit_card_type_detector |
- | 3.0.0 | 3.0.0 | |
cross_file |
- | 0.3.5+4 | 0.3.5+4 | |
flutter_plugin_android_lifecycle |
- | 2.0.35 | 2.0.35 | |
google_mlkit_commons |
- | 0.11.1 | 0.12.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.19.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
vector_math |
- | 2.2.0 | 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 `^0.0.4` on apple_vision_recognize_text does not support the stable version `0.1.0`, that was published 9 days ago.
When apple_vision_recognize_text is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions apple_vision_recognize_text to update the constraint.
The constraint `^0.15.1` on google_mlkit_text_recognition does not support the stable version `0.16.0`, that was published 28 days ago.
When google_mlkit_text_recognition is 30 days old, this package will no longer be awarded points in this category.
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.15, Flutter 3.44.7, Dart 3.12.2.
Check the analysis log for details.