flutter_color_analyzer 0.1.1 copy "flutter_color_analyzer: ^0.1.1" to clipboard
flutter_color_analyzer: ^0.1.1 copied to clipboard

Analyze perceptual differences between colors in order to choose optimal color palettes in an accessible way.

3
likes
125/ 140
pub points
23%
popularity

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

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

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:26:65

   ╷
26 │ <li>Stone, Maureen C., Danielle Albers Szafir and Vidya Setlur. <a href="http://www.danielleszafir.com/2014CIC_48_Stone_v3.pdf">“An Engineering Model for Color
   │                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

16 out of 66 API elements (24.2 %) have documentation comments.

Some symbols that are missing documentation: big_color, big_color.BigColor, big_color.BigColor.a, big_color.BigColor.b, big_color.BigColor.c.

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
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: The variable name '_deltaE_CIE76' isn't a lowerCamelCase identifier.

lib/flutter_color_analyzer.dart:122:17

    ╷
122 │   static double _deltaE_CIE76(final BigColor bc1, final BigColor bc2) {
    │                 ^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_color_analyzer.dart

INFO: The variable name '_deltaE_CIE94' isn't a lowerCamelCase identifier.

lib/flutter_color_analyzer.dart:126:17

    ╷
126 │   static double _deltaE_CIE94(final BigColor bc1, final BigColor bc2) {
    │                 ^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_color_analyzer.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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.12.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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, Flutter 3.19.2, Dart 3.3.0.

Check the analysis log for details.

3
likes
125
pub points
23%
popularity

Publisher

verified publisherihsan.io

Analyze perceptual differences between colors in order to choose optimal color palettes in an accessible way.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_color_analyzer