insurance_card_scanner 0.3.0 copy "insurance_card_scanner: ^0.3.0" to clipboard
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.

90/ 160
pub points
808
downloads

We analyzed this package 4 days ago, and awarded it 90 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 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.dart that imports:
  • package:insurance_card_scanner/widgets/card_scanner_modal.dart that imports:
  • package:insurance_card_scanner/widgets/card_scanner.dart that imports:
  • package:insurance_card_scanner/widgets/scanner_web_view.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS, macOS.
Package does not support platform `iOS`.

Because:

  • package:insurance_card_scanner/insurance_card_scanner.dart that imports:
  • package:insurance_card_scanner/widgets/card_scanner_modal.dart that imports:
  • package:insurance_card_scanner/widgets/card_scanner.dart that imports:
  • package:insurance_card_scanner/widgets/scanner_web_view.dart that imports:
  • package:webview_flutter_android/webview_flutter_android.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:insurance_card_scanner/insurance_card_scanner.dart that imports:
  • package:insurance_card_scanner/widgets/card_scanner_modal.dart that imports:
  • package:insurance_card_scanner/widgets/card_scanner.dart that imports:
  • package:insurance_card_scanner/widgets/scanner_web_view.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:insurance_card_scanner/insurance_card_scanner.dart that imports:
  • package:insurance_card_scanner/widgets/card_scanner_modal.dart that imports:
  • package:insurance_card_scanner/widgets/card_scanner.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:insurance_card_scanner/insurance_card_scanner.dart that imports:
  • package:insurance_card_scanner/widgets/card_scanner_modal.dart that imports:
  • package:insurance_card_scanner/widgets/card_scanner.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `Web`.

Because:

  • package:insurance_card_scanner/insurance_card_scanner.dart that imports:
  • package:insurance_card_scanner/widgets/card_scanner_modal.dart that imports:
  • package:insurance_card_scanner/widgets/card_scanner.dart that imports:
  • package:insurance_card_scanner/widgets/scanner_web_view.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS, macOS.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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.

Weekly downloads

Display as:
By versions:
2
likes
90
points
808
downloads

Publisher

verified publishercardscan.ai

Weekly Downloads

A library that makes it easy to add health insurance card scanning to any flutter application.

Homepage

Documentation

Documentation
API reference

License

unknown (license)

Dependencies

flutter, permission_handler, pubspec_parse, url_launcher, webview_flutter, webview_flutter_android, webview_flutter_wkwebview

More

Packages that depend on insurance_card_scanner