vcard_vcf 0.1.5 copy "vcard_vcf: ^0.1.5" to clipboard
vcard_vcf: ^0.1.5 copied to clipboard

A dart port of vCard JS by Eric J Nesser. Create vCards to import contacts into Outlook, iOS, Mac OS, and Android devices from your website or mobile application.

115/ 160
pub points
64
downloads

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

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

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

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: vcard_vcf,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: vcard_vcf.

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.1.5").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Failed check 0/10 points: 20% or more of the public API has dartdoc comments

OUT: Documenting vcard_vcf... Discovering libraries... Linking elements... Precaching local docs for 644539 elements... Initialized dartdoc with 851 libraries Generating docs for library vcard.dart from package:vcard_vcf/vcard.dart... Generating docs for library vcard_formatter.dart from package:vcard_vcf/vcard_formatter.dart... Documented 2 public libraries in 65.4 seconds ERR: warning: vcard has no library level documentation comments from vcard: (file:///tmp/pana_NHKNSF/lib/vcard.dart:1:1) warning: vcard has no library level documentation comments from vcard: (file:///tmp/pana_NHKNSF/lib/vcard_formatter.dart:1:1) error: file already written at "vcard/index.html" for symbol vcard: (file:///tmp/pana_NHKNSF/lib/vcard_formatter.dart:1:1) conflicting with file already generated by vcard: (file:///tmp/pana_NHKNSF/lib/vcard.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'vcard' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [18 more lines]

Passed check 10/10 points: Package has an example

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

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Web`.

Because:

  • package:vcard_vcf/vcard.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:vcard_vcf/vcard.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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 35 issues. Showing the first 2:

INFO: An uninitialized field should have an explicit type annotation.

lib/vcard.dart:25:7

   ╷
25 │   var cellPhone;
   │       ^^^^^^^^^
   ╵

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

INFO: Missing type annotation.

lib/vcard.dart:25:7

   ╷
25 │   var cellPhone;
   │       ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/vcard.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
intl ^0.18.0 0.18.1 0.20.2
meta ^1.9.1 1.16.0 1.17.0
path ^1.8.3 1.9.1 1.9.1
path_provider ^2.0.15 2.1.5 2.1.5
validators ^3.0.0 3.0.0 3.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.13.0
path_provider_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.2.0 2.2.0
xdg_directories - 1.1.0 1.1.0

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

The constraint `^0.18.0` on intl does not support the stable version `0.19.0`.

Try running dart pub upgrade --major-versions intl 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.22.23, Flutter 3.35.4, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
115
points
64
downloads

Publisher

unverified uploader

Weekly Downloads

A dart port of vCard JS by Eric J Nesser. Create vCards to import contacts into Outlook, iOS, Mac OS, and Android devices from your website or mobile application.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl, meta, path, path_provider, validators

More

Packages that depend on vcard_vcf