A collection of helpful utilities for use in Dart projects. Right now, it includes the following:
Disposableinterface / mixin to assist with cleaning up streams and other data structures that won't necessarily be garbage collected without some manual intervention.
InvalidationMixinmixin used to mark a class as requiring validation.
JsonSerializableinterface to indicate that something can be serialized to JSON.
We expect this list to grow as we identify small pieces of code that are useful across a wide variety of Dart projects, especially in cases where there is value in projects sharing a single implementation.
Add this to your package's pubspec.yaml file:
dependencies: w_common: ^1.15.0
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|1.15.0||Oct 2, 2018|
|1.14.0||Oct 2, 2018|
|1.13.0||Jun 19, 2018|
|1.12.0||May 14, 2018|
|1.11.2||Mar 9, 2018|
|1.11.1||Jan 10, 2018|
|1.11.0||Jan 2, 2018|
|1.10.0||Dec 21, 2017|
|1.9.0||Oct 26, 2017|
|1.8.2||Aug 28, 2017|
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 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: web
CHANGELOG.md. (-20 points)
Changelog entries help clients to follow the progress in your code.
The description is too short. (-20 points)
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Maintain an example.
None of the files in your
example/ directory matches a known example patterns. Common file name patterns include:
example.dart or you could also use
|Dart SDK||>=1.24.3 <3.0.0|