heritage_tree 0.1.0

  • Installing
  • Versions
  • 30

Use this package as a library

1. Depend on it

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


dependencies:
  heritage_tree: ^0.1.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:heritage_tree/heritage_tree.dart';
  
Version Uploaded Documentation Archive
0.1.0 May 20, 2016 Go to the documentation of heritage_tree 0.1.0 Download heritage_tree 0.1.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
99
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.

We analyzed this package on Oct 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.12.4

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:heritage_tree/heritage_tree.dart.

Health suggestions

Fix lib/heritage_tree.dart. (-1.49 points)

Analysis of lib/heritage_tree.dart reported 3 hints:

line 28 col 10: Tests for null should be done with '== null'.

line 40 col 10: Tests for null should be done with '== null'.

line 43 col 9: Tests for null should be done with '== null'.

Maintenance issues and suggestions

Package is too old. (-100 points)

The package was released more than two years ago.

Maintain CHANGELOG.md. (-20 points)

Changelog entries help clients to follow the progress in your code.

Add SDK constraint in pubspec.yaml. (-5 points)

For information about setting SDK constraint, please see https://www.dartlang.org/tools/pub/pubspec#sdk-constraints.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use heritage_tree.dart.

The description is too long. (-10 points)

Search engines will display only the first part of the description. Try to keep it under 180 characters.

Dependencies

Package Constraint Resolved Available
Dev dependencies
test >=0.12.0