A new flutter package project.
For help getting started with Flutter, view our online documentation.
For help on editing package code, view the documentation.
Add this to your package's pubspec.yaml file:
dependencies: ddp: ^0.0.9
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.0.9||Nov 17, 2018|
|0.0.8||Sep 26, 2018|
|0.0.7||Sep 26, 2018|
|0.0.6||Sep 22, 2018|
|0.0.5||Sep 17, 2018|
|0.0.4||Sep 17, 2018|
|0.0.3||Sep 17, 2018|
|0.0.2||Sep 17, 2018|
|0.0.1||Sep 4, 2018|
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 Feb 14, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter, other
Document public APIs. (-0.18 points)
173 out of 178 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/ddp_client.dart. (-2.48 points)
lib/ddp_client.dart reported 5 hints:
line 42 col 10: The value of the field '_serverId' isn't used.
line 45 col 10: The value of the field '_origin' isn't used.
line 376 col 13: Use isNotEmpty instead of length
line 379 col 15: Use isEmpty instead of length
line 379 col 34: Use isNotEmpty instead of length
lib/ddp.dart. (-0.50 points)
lib/ddp.dart reported 1 hint:
line 37 col 12: The value of the field '_timeout' isn't used.
lib/ddp_collection.dart. (-0.50 points)
lib/ddp_collection.dart reported 1 hint:
line 93 col 9: Use isNotEmpty instead of length
lib/ddp_stats.dart. (-0.50 points)
lib/ddp_stats.dart reported 1 hint:
line 56 col 21: Avoid types as parameter names.
dartfmt to format
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
ddp.dart. Packages with multiple examples should provide
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.