insurance_card_scanner 0.3.0
insurance_card_scanner: ^0.3.0 copied to clipboard
A library that makes it easy to add health insurance card scanning to any flutter application.
We analyzed this package 4 days ago, and awarded it 90 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
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
55 out of 120 API elements (45.8 %) have documentation comments.
Some symbols that are missing documentation: card_mapper, card_mapper.CardModelResponseExt, card_mapper.CardModelResponseExt.toCard, card_response_model, card_response_model.CardDetail.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:insurance_card_scanner/insurance_card_scanner.dartthat imports:package:insurance_card_scanner/widgets/card_scanner_modal.dartthat imports:package:insurance_card_scanner/widgets/card_scanner.dartthat imports:package:insurance_card_scanner/widgets/scanner_web_view.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `iOS`.
Because:
package:insurance_card_scanner/insurance_card_scanner.dartthat imports:package:insurance_card_scanner/widgets/card_scanner_modal.dartthat imports:package:insurance_card_scanner/widgets/card_scanner.dartthat imports:package:insurance_card_scanner/widgets/scanner_web_view.dartthat imports:package:webview_flutter_android/webview_flutter_android.dartthat declares support for platforms:Android.
Package does not support platform `Windows`.
Because:
package:insurance_card_scanner/insurance_card_scanner.dartthat imports:package:insurance_card_scanner/widgets/card_scanner_modal.dartthat imports:package:insurance_card_scanner/widgets/card_scanner.dartthat imports:package:insurance_card_scanner/widgets/scanner_web_view.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `Linux`.
Because:
package:insurance_card_scanner/insurance_card_scanner.dartthat imports:package:insurance_card_scanner/widgets/card_scanner_modal.dartthat imports:package:insurance_card_scanner/widgets/card_scanner.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `macOS`.
Because:
package:insurance_card_scanner/insurance_card_scanner.dartthat imports:package:insurance_card_scanner/widgets/card_scanner_modal.dartthat imports:package:insurance_card_scanner/widgets/card_scanner.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `Web`.
Because:
package:insurance_card_scanner/insurance_card_scanner.dartthat imports:package:insurance_card_scanner/widgets/card_scanner_modal.dartthat imports:package:insurance_card_scanner/widgets/card_scanner.dartthat imports:package:insurance_card_scanner/widgets/scanner_web_view.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: 'alpha' is deprecated and shouldn't be used. Use (*.a * 255.0).round().clamp(0, 255).
lib/utils/color_extensions.dart:9:25
╷
9 │ final alpha = this!.alpha.toRadixString(16).padLeft(2, '0');
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/utils/color_extensions.dart
INFO: 'red' is deprecated and shouldn't be used. Use (*.r * 255.0).round().clamp(0, 255).
lib/utils/color_extensions.dart:10:23
╷
10 │ final red = this!.red.toRadixString(16).padLeft(2, '0');
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/utils/color_extensions.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
permission_handler |
^11.1.0 |
11.4.0 | 12.0.1 | |
pubspec_parse |
^1.2.1 |
1.5.0 | 1.5.0 | |
url_launcher |
^6.2.3 |
6.3.2 | 6.3.2 | |
webview_flutter |
^4.4.4 |
4.9.0 | 4.13.1 | |
webview_flutter_android |
^3.13.2 |
3.16.9 | 4.10.11 | |
webview_flutter_wkwebview |
^3.10.1 |
3.23.5 | 3.23.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
collection |
- | 1.19.1 | 1.19.1 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
permission_handler_android |
- | 12.1.0 | 13.0.1 | |
permission_handler_apple |
- | 9.4.7 | 9.4.7 | |
permission_handler_html |
- | 0.1.3+5 | 0.1.3+5 | |
permission_handler_platform_interface |
- | 4.3.0 | 4.3.0 | |
permission_handler_windows |
- | 0.2.1 | 0.2.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
url_launcher_android |
- | 6.3.28 | 6.3.28 | |
url_launcher_ios |
- | 6.3.6 | 6.3.6 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_macos |
- | 3.2.5 | 3.2.5 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_platform_interface |
- | 2.14.0 | 2.14.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^11.1.0` on permission_handler does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions permission_handler to update the constraint.
The constraint `^3.13.2` on webview_flutter_android does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions webview_flutter_android to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
UNDEFINED_GETTER-lib/widgets/scanner_web_view.dart:42:29- The getter 'canonicalizedVersion' isn't defined for the type 'Version'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.