pakistan_cnic 0.0.2 copy "pakistan_cnic: ^0.0.2" to clipboard
pakistan_cnic: ^0.0.2 copied to clipboard

the package is to use for the cnic of pakistan

110/ 160
pub points
5
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/iHamza7/pakistan_cnic.git was unreachable. Make sure that the website is reachable via HEAD requests.

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

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

Passed check 10/10 points: Use an OSI-approved license

Detected license: GPL-3.0.

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

10 out of 30 API elements (33.3 %) have documentation comments.

Some symbols that are missing documentation: cnic_model, cnic_model.CnicModel.CnicModel.new, cnic_model.CnicModel.cnicExpiryDate, cnic_model.CnicModel.cnicHolderDateOfBirth, cnic_model.CnicModel.cnicHolderName.

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:pakistan_cnic/pakistan_cnic.dart that declares support for platforms: .
Package does not support platform `iOS`.

Because:

  • package:pakistan_cnic/pakistan_cnic.dart that declares support for platforms: .
Package does not support platform `Windows`.

Because:

  • package:pakistan_cnic/pakistan_cnic.dart that declares support for platforms: .
Package does not support platform `Linux`.

Because:

  • package:pakistan_cnic/pakistan_cnic.dart that declares support for platforms: .
Package does not support platform `macOS`.

Because:

  • package:pakistan_cnic/pakistan_cnic.dart that declares support for platforms: .
Package does not support platform `Web`.

Because:

  • package:pakistan_cnic/pakistan_cnic.dart that declares support for platforms: .
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

INFO: Dangling library doc comment.

lib/model/cnic_model.dart:1:1

  ╷
1 │ /// this class is used to store data from package and display data on user screen
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/model/cnic_model.dart

Failed report section
Support up-to-date dependencies
30 / 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
google_ml_kit ^0.13.0 0.13.0 0.20.0
image_picker ^0.8.7 0.8.9 1.2.1
intl ^0.18.0 0.18.1 0.20.2
permission_handler ^10.2.0 10.4.5 12.0.1
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
cross_file - 0.3.5+1 0.3.5+1
file_selector_linux - 0.9.4 0.9.4
file_selector_macos - 0.9.5 0.9.5
file_selector_platform_interface - 2.7.0 2.7.0
file_selector_windows - 0.9.3+5 0.9.3+5
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
google_mlkit_barcode_scanning - 0.5.0 0.14.1
google_mlkit_commons - 0.2.0 0.11.0
google_mlkit_digital_ink_recognition - 0.6.0 0.14.1
google_mlkit_entity_extraction - 0.6.0 0.15.1
google_mlkit_face_detection - 0.5.0 0.13.1
google_mlkit_image_labeling - 0.5.0 0.14.1
google_mlkit_language_id - 0.5.0 0.13.0
google_mlkit_object_detection - 0.6.0 0.15.0
google_mlkit_pose_detection - 0.5.0 0.14.0
google_mlkit_selfie_segmentation - 0.2.0 0.10.0
google_mlkit_smart_reply - 0.5.0 0.13.0
google_mlkit_text_recognition - 0.5.0 0.15.0
google_mlkit_translation - 0.5.0 0.13.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.13+10 0.8.13+10
image_picker_for_web - 2.2.0 3.1.1
image_picker_ios - 0.8.13+3 0.8.13+3
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2+1 0.2.2+1
image_picker_platform_interface - 2.11.1 2.11.1
image_picker_windows - 0.2.2 0.2.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mime - 1.0.6 2.0.0
path - 1.9.1 1.9.1
permission_handler_android - 10.3.6 13.0.1
permission_handler_apple - 9.1.4 9.4.7
permission_handler_platform_interface - 3.12.0 4.3.0
permission_handler_windows - 0.1.3 0.2.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 4 issues. Showing the first 2:

The constraint `^0.13.0` on google_ml_kit does not support the stable version `0.14.0`.

Try running dart pub upgrade --major-versions google_ml_kit to update the constraint.

The constraint `^0.8.7` on image_picker does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions image_picker to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

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
110
points
5
downloads

Publisher

unverified uploader

Weekly Downloads

the package is to use for the cnic of pakistan

Homepage

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter, google_ml_kit, image_picker, intl, permission_handler, plugin_platform_interface

More

Packages that depend on pakistan_cnic

Packages that implement pakistan_cnic