w_common 1.13.0

  • README.md
  • Installing
  • Versions
  • 30

w_common

A collection of helpful utilities for use in Dart projects. Right now, it includes the following:

  • Disposable interface / mixin to assist with cleaning up streams and other data structures that won't necessarily be garbage collected without some manual intervention.
  • A simple typedef that can be parameterized to represent a zero-arity callback that returns a particular type.
  • InvalidationMixin mixin used to mark a class as requiring validation.
  • JsonSerializable interface 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.

Use this package as a library

1. Depend on it

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


dependencies:
  w_common: ^1.13.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:w_common/w_common.dart';
  
Version Uploaded Documentation Archive
1.13.0 Jun 19, 2018 Go to the documentation of w_common 1.13.0 Download w_common 1.13.0 archive
1.12.0 May 14, 2018 Go to the documentation of w_common 1.12.0 Download w_common 1.12.0 archive
1.11.2 Mar 9, 2018 Go to the documentation of w_common 1.11.2 Download w_common 1.11.2 archive
1.11.1 Jan 10, 2018 Go to the documentation of w_common 1.11.1 Download w_common 1.11.1 archive
1.11.0 Jan 2, 2018 Go to the documentation of w_common 1.11.0 Download w_common 1.11.0 archive
1.10.0 Dec 21, 2017 Go to the documentation of w_common 1.10.0 Download w_common 1.10.0 archive
1.9.0 Oct 26, 2017 Go to the documentation of w_common 1.9.0 Download w_common 1.9.0 archive
1.8.2 Aug 28, 2017 Go to the documentation of w_common 1.8.2 Download w_common 1.8.2 archive
1.8.1 Aug 15, 2017 Go to the documentation of w_common 1.8.1 Download w_common 1.8.1 archive
1.8.0 Aug 9, 2017 Go to the documentation of w_common 1.8.0 Download w_common 1.8.0 archive

All 24 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
60
Health:
Code health derived from static analysis. [more]
0
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
30
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.12.0 <2.0.0