huevora 1.0.2
huevora: ^1.0.2 copied to clipboard
A production-grade color engine for Dart. Derive complete design-system palettes from a single hex color, generate Material-style tonal palettes, validate contrast via APCA and WCAG 2.x, and export to [...]
We analyzed this package 40 hours ago, and awarded it 140 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
Documentation URL doesn't exist.
At the time of the analysis https://pub.dev/documentation/huevora/latest was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
119 out of 141 API elements (84.4 %) have documentation comments.
Some symbols that are missing documentation: huevora.ApcaUsageLevel.description, huevora.ApcaUsageLevel.fromAbsoluteLc, huevora.ColorEngine, huevora.ContrastEngine.ContrastEngine.new, huevora.ContrastResult.ContrastResult.new.
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
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/src/api/color_engine.dart:1:1
╷
1 │ /// Primary public API for palette derivation and color-space conversion.
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/api/color_engine.dart
INFO: The import of 'package:huevora/src/models/core_palette.dart' is unnecessary because all of the used elements are also provided by the import of 'package:huevora/huevora.dart'.
lib/src/api/color_engine.dart:25:8
╷
25 │ import 'package:huevora/src/models/core_palette.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/api/color_engine.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
material_color_utilities |
^0.13.0 |
0.13.0 | 0.13.0 | |
meta |
^1.18.2 |
1.18.3 | 1.18.3 | |
prism |
^2.1.0 |
2.1.0 | 2.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 |
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.12, Dart 3.12.0.
Check the analysis log for details.