fff 2.0.0 fff: ^2.0.0 copied to clipboard
Dart package for convenient work with color. It will allow you to convert colors between rgb, rgba and hex formats.
We analyzed this package 13 days ago, and awarded it 100 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/vdakalov/fff/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:97:58
╷
97 │ <p>Presets library contains 275 constants of colors from <a href="http://www.google.com/design/spec/style/color.html">Material design</a></p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
0/5 points: Provide a valid CHANGELOG.md
Links in `CHANGELOG.md` should be secure. 1 link is insecure.
CHANGELOG.md:33:20
╷
33 │ <li>Add 275 preset <a href="http://www.google.com/design/spec/style/color.html">Material design</a></li>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
301 out of 309 API elements (97.4 %) have documentation comments.
Some symbols that are missing documentation: color
, color.Color
, color.Color.operator +
, color.Color.operator -
, color.Component
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
- ✓ Web
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
WARNING: Unnecessary type check; the result is always 'true'.
lib/color.dart:108:11
╷
108 │ if (pos is int && pos >= 0) {
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/color.dart
WARNING: The '?' is unnecessary because 'dynamic' is nullable without it.
lib/parser.dart:171:27
╷
171 │ Color ColorParser([dynamic? red, num? green, num? blue, num? alpha]) {
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/parser.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.2
, Dart 3.3.0
.
Check the analysis log for details.