hexcolorname 0.0.9 copy "hexcolorname: ^0.0.9" to clipboard
hexcolorname: ^0.0.9 copied to clipboard

A Flutter plugin for Color's Name by Color Code. Supports iOS, Android, web, Windows, macOS, and Linux.

130/ 160
pub points
25
downloads

We analyzed this package 2 days ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting hexcolorname... Discovering libraries... Linking elements... Precaching local docs for 1200317 elements... Initialized dartdoc with 1146 libraries Generating docs for library utils/utils.dart from package:hexcolorname/utils/utils.dart... Generating docs for library utils/extension.dart from package:hexcolorname/utils/extension.dart... Generating docs for library utils/constants.dart from package:hexcolorname/utils/constants.dart... Generating docs for library hexcolorname.dart from package:hexcolorname/hexcolorname.dart... Generating docs for library model/color_name_model.dart from package:hexcolorname/model/color_name_model.dart... [4 more lines] ERR: warning: hexcolorname has no library level documentation comments from hexcolorname: (file:///tmp/pana_UMVYSW/lib/app/app.dart:1:1) error: file already written at "hexcolorname/index.html" for symbol hexcolorname: (file:///tmp/pana_UMVYSW/lib/app/app.dart:1:1) conflicting with file already generated by hexcolorname: (file:///tmp/pana_UMVYSW/lib/hexcolorname.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'hexcolorname' 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 directive in one symbol's [16 more lines]

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: 'value' is deprecated and shouldn't be used. Use component accessors like .r or .g, or toARGB32 for an explicit conversion.

lib/utils/extension.dart:15:12

   ╷
15 │     return value.toRadixString(16).substring(2).toUpperCase();
   │            ^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
dio ^5.4.0 5.9.0 5.9.0
freezed_annotation ^2.4.1 2.4.4 3.1.0
json_annotation ^4.8.1 4.9.0 4.9.0
logger ^2.0.2+1 2.6.2 2.6.2
retrofit ^4.1.0 4.9.2 4.9.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.1 2.1.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^2.4.1` on freezed_annotation does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
130
points
25
downloads

Publisher

verified publisherkrishnavishwakarma.in

Weekly Downloads

A Flutter plugin for Color's Name by Color Code. Supports iOS, Android, web, Windows, macOS, and Linux.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, freezed_annotation, json_annotation, logger, retrofit

More

Packages that depend on hexcolorname