fff 2.0.0 copy "fff: ^2.0.0" to clipboard
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.

2
likes
100/ 140
pub points
69%
popularity

We analyzed this package 13 days ago, and awarded it 100 pub points (of a possible 140):

failed
Follow Dart file conventions
10 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
failed
Pass static analysis
30 / 50trigger folding of the section

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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.

2
likes
100
pub points
69%
popularity

Publisher

verified publisherdev.vihtor.ru

Dart package for convenient work with color. It will allow you to convert colors between rgb, rgba and hex formats.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

unknown (LICENSE)

More

Packages that depend on fff