contact_cardio 0.0.2

  • Readme
  • Changelog
  • Installing
  • new46

Contact CardIO #

The contact_cardio library consists of a hierarchy of classes representing units of contact information, along with methods for serializing and deserializing. In particular, the vCard and MeCard formats are represented by VCardContactCard and MeCardContactCard respectively.

0.0.0 #

  • Initial verison

0.0.1 #

  • Be pedantic.

0.0.2 #

  • Make pana happier.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  contact_cardio: ^0.0.2

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:contact_cardio/contact_cardio.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
46
Learn more about scoring.

We analyzed this package on Jan 16, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4

Health suggestions

Format lib/src/contact_card_deserializer.dart.

Run dartfmt to format lib/src/contact_card_deserializer.dart.

Format lib/src/formats/email_address/email_address_contact_card.dart.

Run dartfmt to format lib/src/formats/email_address/email_address_contact_card.dart.

Format lib/src/formats/email_address/only_email_address_contact_card.dart.

Run dartfmt to format lib/src/formats/email_address/only_email_address_contact_card.dart.

Fix additional 14 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/formats/email_address/raw_email_address_contact_card.dart (Run dartfmt to format lib/src/formats/email_address/raw_email_address_contact_card.dart.)
  • lib/src/formats/email_address/single_email_address_contact_card.dart (Run dartfmt to format lib/src/formats/email_address/single_email_address_contact_card.dart.)
  • lib/src/formats/email_address/uri_email_address_contact_card.dart (Run dartfmt to format lib/src/formats/email_address/uri_email_address_contact_card.dart.)
  • lib/src/formats/me_card/me_card_contact_card.dart (Run dartfmt to format lib/src/formats/me_card/me_card_contact_card.dart.)
  • lib/src/formats/phone_number/only_phone_number_contact_card.dart (Run dartfmt to format lib/src/formats/phone_number/only_phone_number_contact_card.dart.)
  • lib/src/formats/phone_number/phone_number_contact_card.dart (Run dartfmt to format lib/src/formats/phone_number/phone_number_contact_card.dart.)
  • lib/src/formats/phone_number/single_phone_number_contact_card.dart (Run dartfmt to format lib/src/formats/phone_number/single_phone_number_contact_card.dart.)
  • lib/src/formats/v_card/v_card.dart (Run dartfmt to format lib/src/formats/v_card/v_card.dart.)
  • lib/src/formats/v_card/v_card_3_0.dart (Run dartfmt to format lib/src/formats/v_card/v_card_3_0.dart.)
  • lib/src/formats/v_card/v_card_contact_card.dart (Run dartfmt to format lib/src/formats/v_card/v_card_contact_card.dart.)
  • lib/src/formats/v_card/v_card_enums.dart (Run dartfmt to format lib/src/formats/v_card/v_card_enums.dart.)
  • lib/src/utilities/email_address_utilities.dart (Run dartfmt to format lib/src/utilities/email_address_utilities.dart.)
  • lib/src/utilities/v_card_enum_utilities.dart (Run dartfmt to format lib/src/utilities/v_card_enum_utilities.dart.)
  • lib/src/utilities/v_card_utilities.dart (Run dartfmt to format lib/src/utilities/v_card_utilities.dart.)

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and contact_cardio.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.0 <3.0.0
Dev dependencies
build_runner >=1.7.0 <2.0.0
pedantic ^1.9.0
test >=1.9.0 <2.0.0