stuff 0.1.0

  • Readme
  • Changelog
  • Installing
  • 52

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:

  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';
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]
Learn more about scoring.

We analyzed this package on Jan 24, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4

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.

Read more about the setup of analysis-options.yaml.

Package is getting outdated. (-30.96 points)

The package was last published 68 weeks ago.

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 main.dart, example.dart, and stuff.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
path ^1.6.2 1.6.4
quiver ^2.0.0+1 2.1.2+1
uri ^0.11.3+1 0.11.3+1
Transitive dependencies
matcher 0.12.6
meta 1.1.8
stack_trace 1.9.3
utf 0.9.0+5
Dev dependencies
test ^1.3.3