tinycolor 1.0.3 icon indicating copy to clipboard operation
tinycolor: ^1.0.3 copied to clipboard

Flutter Color manipulation and conversion, ported from JS tinycolor2

51
likes
25/ 140
pub points
85%
popularity

The package version is not analyzed, because it does not support Dart 3. Until this is resolved, the package will receive a pub score of 0.

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

icon indicating section status
Follow Dart file conventions
25 / 30icon to trigger 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:38:88

   ╷
38 │ <p>Returns the perceived brightness of a color, from <code>0-255</code>, as defined by <a href="http://www.w3.org/TR/AERT#color-contrast">Web Content Accessibility Guidelines (Version 1.0)</a>.</p>
   │                                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

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

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

0/10 points: Failed to run dartdoc

  • dartdoc failed, see task-log.
icon indicating section status
Platform support
0 / 20icon to trigger folding of the section

0/20 points: Platform support detection failed

Could not determine supported platforms as package resolution failed.

Run flutter pub get for more information.

icon indicating section status
Pass static analysis
0 / 50icon to trigger folding of the section

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

Found 71 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'package:flutter/painting.dart'.

lib/color_extension.dart:1:8

  ╷
1 │ import 'package:flutter/painting.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

ERROR: Undefined class 'Color'.

lib/color_extension.dart:5:33

  ╷
5 │ extension TinyColorExtension on Color {
  │                                 ^^^^^
  ╵

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

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

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

Sdk constraint doesn't support current Dart version 3.2.0-42.2.beta. Cannot run `flutter pub outdated`.

pubspec.yaml:7:8

  ╷
7 │   sdk: ">=2.6.0 <3.0.0"
  │        ^^^^^^^^^^^^^^^^
  ╵

0/10 points: Package supports latest stable Dart and Flutter SDKs

Sdk constraint doesn't support current Dart version 3.2.0-42.2.beta.

pubspec.yaml:7:8

  ╷
7 │   sdk: ">=2.6.0 <3.0.0"
  │        ^^^^^^^^^^^^^^^^
  ╵

Try widening the upper boundary of the constraint.

The current SDK constraint does not allow the Dart version used by the latest stable Flutter (3.1.1)

pubspec.yaml:7:8

  ╷
7 │   sdk: ">=2.6.0 <3.0.0"
  │        ^^^^^^^^^^^^^^^^
  ╵

Analysed with Pana 0.21.36, Flutter 3.13.3, Dart 3.1.1.

51
likes
25
pub points
85%
popularity

Publisher

unverified uploader

Flutter Color manipulation and conversion, ported from JS tinycolor2

Repository (GitHub)
View/report issues

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, meta, pigment

More

Packages that depend on tinycolor