Fp Fantasy #
Fp style in the Dart 2!
Created from templates made available by Stagehand under a BSD-style license.
Features and bugs #
Please file feature requests and bugs at the issue tracker.
- 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: fpfantasy: ^1.0.4
2. Install it
You can install packages from the command line:
$ pub get
$ flutter pub get
Alternatively, your editor might support
pub get or
flutter pub get.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
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 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 issues and suggestions
lib/src/chain.dart. (-44.87 points)
lib/src/chain.dart failed with 2 errors, 4 hints, including:
line 40 col 17: 'T' can't be used contravariantly or invariantly in '_Base
line 46 col 19: 'V' can't be used contravariantly or invariantly in '_Base
line 3 col 1: Prefer using /// for doc comments.
line 12 col 35: Unnecessary new keyword.
line 14 col 1: Prefer using /// for doc comments.
lib/src/immutable/imMap.dart. (-9.54 points)
lib/src/immutable/imMap.dart reported 20 hints, including:
line 13 col 39: Avoid types as parameter names.
line 25 col 26: Avoid types as parameter names.
line 25 col 29: Avoid types as parameter names.
line 29 col 43: Avoid types as parameter names.
line 29 col 46: Avoid types as parameter names.
lib/src/immutable/imList.dart. (-6.78 points)
lib/src/immutable/imList.dart reported 14 hints, including:
line 15 col 12: Unnecessary new keyword.
line 26 col 23: Avoid types as parameter names.
line 30 col 27: Avoid types as parameter names.
line 35 col 12: Unnecessary new keyword.
line 38 col 22: Avoid types as parameter names.
Fix additional 10 files with analysis or formatting issues. (-14.79 points)
Additional issues in the following files:
Package is getting outdated. (-15.62 points)
The package was last published 60 weeks ago.
|Dart SDK||>=2.0.0-dev.67.0 <3.0.0|