spectrum 0.2.1 copy "spectrum: ^0.2.1" to clipboard
spectrum: ^0.2.1 copied to clipboard

outdated

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.

11
likes
75/ 140
pub points
17%
popularity

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

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

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.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/Zabadam/spectrum/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. 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.

OK
Provide documentation
20 / 20trigger folding of the section

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

200 out of 226 API elements (88.5 %) have documentation comments.

Some symbols that are missing documentation: spectrum, spectrum.LinearShadedSteps, spectrum.LinearShadedSteps.LinearShadedSteps, spectrum.LinearShadedSteps.distance, spectrum.LinearShadedSteps.shadeFactor.

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
0 / 50trigger folding of the section

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

Found 20 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

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.14.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.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

11
likes
75
pub points
17%
popularity

Publisher

verified publisherzaba.app

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.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on spectrum