spectrum 0.2.1
spectrum: ^0.2.1 copied to clipboard
A rainbow of Color and Gradient utilities. Interpolate intermediate gradients with a realized GradientTween & new type Steps as well as shaded varieties. Color generation & operators.
We analyzed this package 23 days ago, and awarded it 75 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.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 10 image links are insecure.
README.md:67:3
╷
67 │ | <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArwAAAABCAQAAACWeLVKAAAAFElEQVR42mNkGAWjYBSMglFAVwAACvIAAtLYiGQAAAAASUVORK5CYII="> | <a href="#-table-of-contents" title="Table of Contents">📚</a> |</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
200 out of 229 API elements (87.3 %) have documentation comments.
Some symbols that are missing documentation: spectrum, spectrum.LinearShadedSteps, spectrum.LinearShadedSteps.LinearShadedSteps.new, spectrum.LinearShadedSteps.distance, spectrum.LinearShadedSteps.shadeFactor.
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/50 points: code has no errors, warnings, lints, or formatting issues
Found 106 issues. Showing the first 2:
ERROR: Undefined name 'shade50'.
lib/src/colors/spectrum.dart:264:9
╷
264 │ shade50,
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/colors/spectrum.dart
ERROR: Undefined name 'shade50'.
lib/src/colors/spectrum.dart:279:9
╷
279 │ shade50,
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/colors/spectrum.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 24 errors:
UNDEFINED_IDENTIFIER-lib/src/colors/spectrum.dart:264:9- Undefined name 'shade50'.UNDEFINED_IDENTIFIER-lib/src/colors/spectrum.dart:279:9- Undefined name 'shade50'.UNDEFINED_METHOD-lib/src/gradients/steps/shaded.dart:181:23- The method 'hashValues' isn't defined for the type 'LinearShadedSteps'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.