flutter_credit_card_scanner 0.13.0
flutter_credit_card_scanner: ^0.13.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 1 hour ago, and awarded it 150 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
65 out of 75 API elements (86.7 %) 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
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: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 PM-ready: This iOS or macOS plugin supports the Swift Package Manager. 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.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/clipper.dart:3:1
╷
3 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/clipper.dart
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/widget.dart:9:1
╷
9 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/widget.dart
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.1.0 |
0.1.0 | 0.1.0 | |
camera |
^0.12.1 |
0.12.2 | 0.12.2 | |
credit_card_validator |
^2.1.0 |
2.1.0 | 2.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
camera_android_camerax |
- | 0.7.6+2 | 0.7.6+2 | |
camera_avfoundation |
- | 0.11.1 | 0.11.1 | |
camera_platform_interface |
- | 2.15.1 | 2.15.1 | |
camera_web |
- | 0.3.6 | 0.3.6 | |
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+5 | 0.4.0 | |
flutter_plugin_android_lifecycle |
- | 2.0.35 | 2.0.35 | |
listen |
- | 1.0.1 | 1.0.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
stream_transform |
- | 2.1.2 | 2.1.2 | |
vector_math |
- | 2.4.4 | 2.4.4 | |
web |
- | 1.1.2 | 1.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.50.0, Dart 3.14.0.
Check the analysis log for details.