Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: persistent_data: ^0.1.3
2. Install it
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
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 Oct 21, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.5.1
- pana: 0.12.21
Detected platforms: web
lib/src/persistent_data_base.dart. (-7.71 points)
lib/src/persistent_data_base.dart reported 16 hints, including:
line 11 col 7: DO use curly braces for all flow control structures.
line 13 col 7: DO use curly braces for all flow control structures.
line 25 col 7: DO use curly braces for all flow control structures.
line 50 col 5: DO use curly braces for all flow control structures.
line 77 col 51: Use
= to separate a named parameter from its default value.
dartfmt to format
Maintenance issues and suggestions
Provide a file named
README.md. (-30 points)
README.md file should inform others about your project, what it does, and how they can use it. See the example generated by
Provide a file named
CHANGELOG.md. (-20 points)
Changelog entries help developers follow the progress of your package. See the example generated by
Homepage URL doesn't exist. (-20 points)
At the time of the analysis the
https://www.github.com/afpatmin/persistent_data was unreachable.
Support latest dependencies. (-10 points)
The version constraint in
pubspec.yaml does not support the latest published versions for 1 dependency (
Package is getting outdated. (-12.88 points)
The package was last published 58 weeks ago.
Maintain an example. (-10 points)
Create a short demo in the
example/ directory to show how to use this package.
Common filename patterns include
persistent_data.dart. Packages with multiple examples should provide
For more information see the pub package layout conventions.