stuff 0.1.0
stuff #
Some stuff I need in various packages. You can safely ignore this
Changelog #
0.1.0 #
- Dart 2
0.0.7 #
- fix handling of Option
0.0.6 #
- Strong mode stuff
0.0.3 #
- Dynamic JSON
0.0.1 #
- Initial version, created by Stagehand
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies:
stuff: ^0.1.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:stuff/stuff.dart';
Popularity:
Describes how popular the package is relative to other packages.
[more]
|
37
|
Health:
Code health derived from static analysis.
[more]
|
96
|
Maintenance:
Reflects how tidy and up-to-date the package is.
[more]
|
42
|
Overall:
Weighted score of the above.
[more]
|
56
|
We analyzed this package on Dec 9, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.6.1
- pana: 0.12.21
Health suggestions
Fix lib/src/json_utils.dart
. (-3.45 points)
Analysis of lib/src/json_utils.dart
reported 7 hints, including:
line 12 col 30: Unnecessary new keyword.
line 13 col 45: Use =
to separate a named parameter from its default value.
line 14 col 5: Unnecessary new keyword.
line 18 col 34: Use =
to separate a named parameter from its default value.
line 89 col 35: Unnecessary new keyword.
Fix lib/src/dynamic_json.dart
. (-0.50 points)
Analysis of lib/src/dynamic_json.dart
reported 1 hint:
line 18 col 7: Unnecessary new keyword.
Format lib/src/quiver_iterables.dart
.
Run dartfmt
to format lib/src/quiver_iterables.dart
.
Format lib/src/quiver_streams.dart
.
Run dartfmt
to format lib/src/quiver_streams.dart
.
Format lib/stuff.dart
.
Run dartfmt
to format lib/stuff.dart
.
Maintenance issues and suggestions
Use analysis_options.yaml
. (-10 points)
Change the name of your package's .analysis_options
file to analysis_options.yaml
.
analysis-options.yaml
.
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.
Package is getting outdated. (-18.36 points)
The package was last published 61 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 main.dart
, example.dart
, and stuff.dart
. Packages with multiple examples should provide example/README.md
.
For more information see the pub package layout conventions.