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 5 hours ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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 308 API elements (97.7 %) 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
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 26 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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.8, Dart 3.10.8.
Check the analysis log for details.