colors_stuff 0.0.1+1 icon indicating copy to clipboard operation
colors_stuff: ^0.0.1+1 copied to clipboard

A library that provides useful functions for working with colors.

1
likes
110/ 130
pub points
1%
popularity

We analyzed this package 12 hours ago, and awarded it 110 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

10/10 points: Package has an example

0/10 points: Failed to run dartdoc

  • dartdoc failed with:
exitCode: 255
stdout: [2022-05-17T06:36:58.904694] Starting...
Documenting colors_stuff...
Initialized dartdoc with 605 libraries
Generating docs for library colors_stuff from package:colors_stuff/color_set.dart...
Generating docs for library colors_stuff from package:colors_stuff/colors_stuff.dart...
Generating docs for library colors_stuff from package:colors_stuff/random_color.dart...
Documented 3 public libraries in 148.3 seconds

stderr: ../../.pub-cache/hosted/pub.dartlang.org/dartdoc-5.0.1/lib/src/model/model_element.dart:706:14: Warning: Operand of null-aware operation '?.' has type 'LineInfo' which excludes null.
 - 'LineInfo' is from 'package:analyzer/source/line_info.dart' ('../../.pub-cache/hosted/pub.dartlang.org/analyzer-3.4.1/lib/source/line_info.dart').
      return lineInfo?.getLocation(nameOffset);
             ^
  warning: colors_stuff has no library level documentation comments
    from colors_stuff: (file:///tmp/pub-dartlang-dartdocYPMMHC/pkg/lib/color_set.dart:1:9)
  warning: colors_stuff has no library level documentation comments
    from colors_stuff: (file:///tmp/pub-dartlang-dartdocYPMMHC/pkg/lib/colors_stuff.dart:1:9)
  error: failed to write file at: colors_stuff/colors_stuff-library.html
    for symbol colors_stuff: (file:///tmp/pub-dartlang-dartdocYPMMHC/pkg/lib/colors_stuff.dart:1:9)
    conflicting with file already generated by colors_stuff: (file:///tmp/pub-dartlang-dartdocYPMMHC/pkg/lib/color_set.dart:1:9)
            Dartdoc generates a path and filename to write to for each symbol.
            colors_stuff conflicts with another symbol in the generated
            path, and therefore can not be written out.  Changing the name,
            library name, or class name (if appropriate) of one of the
            conflicting items can resolve the conflict.   Alternatively, use the
            @nodoc tag in one symbol's documentation comments to hide it.
  warning: colors_stuff has no library level documentation comments
    from colors_stuff: (file:///tmp/pub-dartlang-dartdocYPMMHC/pkg/lib/random_color.dart:1:9)
  error: failed to write file at: colors_stuff/colors_stuff-library.html
    for symbol colors_stuff: (file:///tmp/pub-dartlang-dartdocYPMMHC/pkg/lib/random_color.dart:1:9)
    conflicting with file already generated by colors_stuff: (file:///tmp/pub-dartlang-dartdocYPMMHC/pkg/lib/colors_stuff.dart:1:9)
Found 3 warnings and 2 errors.
Unhandled exception:
encountered 2 errors
#0      Dartdoc.generateDocs (package:dartdoc/src/dartdoc.dart:232:9)
<asynchronous suspension>
#1      main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:32:19)
<asynchronous suspension>


icon indicating section status
Platform support
20 / 20icon to trigger 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
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

INFO: The value of the field '_twoPrimary' isn't used.

lib/random_color.dart:22:13

   ╷
22 │   final int _twoPrimary = 1;
   │             ^^^^^^^^^^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.2.01.2.1
collection-1.16.01.16.0
material_color_utilities-0.1.40.1.5
meta-1.7.01.7.0
sky_engine-0.0.990.0.99
vector_math-2.1.22.1.2

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.12, Flutter 3.0.0, Dart 2.17.0.

1
likes
110
pub points
1%
popularity

Publisher

unverified uploader

A library that provides useful functions for working with colors.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on colors_stuff