Getting Started #
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: vcard_parser: ^0.1.6
2. Install it
You can install packages from the command line:
$ flutter pub get
Alternatively, your editor might support
flutter pub get.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Dec 4, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.6.1
- pana: 0.12.21
- Flutter: 1.9.1+hotfix.6
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
Health issues and suggestions
Document public APIs. (-1 points)
17 out of 17 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.
lib/vcard_parser.dart. (-4.89 points)
lib/vcard_parser.dart reported 10 hints, including:
line 4 col 9: Name non-constant identifiers using lowerCamelCase.
line 5 col 9: Name non-constant identifiers using lowerCamelCase.
line 6 col 9: Name non-constant identifiers using lowerCamelCase.
line 7 col 9: Name non-constant identifiers using lowerCamelCase.
line 8 col 9: Name non-constant identifiers using lowerCamelCase.
The package description is too short. (-20 points)
Add more detail to the
description field of
pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.
Maintain an example. (-10 points)
Create a short demo in the
example/ directory to show how to use this package.
Common filename patterns include
vcard_parser.dart. Packages with multiple examples should provide
For more information see the pub package layout conventions.
Homepage URL is insecure. (-5 points)
homepage field and use a secure (