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 Oct 21, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.5.1
- pana: 0.12.21
Detected platforms: Flutter, web, other
No platform restriction found in primary library
Health issues and suggestions
lib/src/chain.dart. (-44.31 points)
lib/src/chain.dart failed with 2 errors, 2 hints:
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 14 col 1: Prefer using /// for doc comments.
lib/src/immutable/imMap.dart. (-5.84 points)
lib/src/immutable/imMap.dart reported 12 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/maybe.dart. (-2.96 points)
lib/src/maybe.dart reported 6 hints, including:
line 6 col 7: Don't explicitly initialize variables to null.
line 26 col 7: Don't explicitly initialize variables to null.
line 51 col 33: Avoid types as parameter names.
line 69 col 33: Avoid types as parameter names.
line 99 col 14: Avoid types as parameter names.
Fix additional 10 files with analysis or formatting issues. (-8.98 points)
Additional issues in the following files:
|Dart SDK||>=2.0.0-dev.67.0 <3.0.0|