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.

3
likes
110/ 140
pub points
23%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger 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

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting hexcolorname... Discovering libraries... Linking elements... Precaching local docs for 610290 elements... Initialized dartdoc with 870 libraries Generating docs for library service/api_service.dart from package:hexcolorname/service/api_service.dart... Generating docs for library model/color_name_model.dart from package:hexcolorname/model/color_name_model.dart... Generating docs for library client/api_client.dart from package:hexcolorname/client/api_client.dart... 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... [4 more lines] ERR: warning: hexcolorname has no library level documentation comments from hexcolorname: (file:///tmp/pana_UXKCEO/lib/app/app.dart:3:9) error: file already written at "hexcolorname/hexcolorname-library.html" for symbol hexcolorname: (file:///tmp/pana_UXKCEO/lib/hexcolorname.dart:1:1) conflicting with file already generated by hexcolorname: (file:///tmp/pana_UXKCEO/lib/app/app.dart:3:9) 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 [11 more lines]

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

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

Found 4 issues. Showing the first 2:

WARNING: The annotation 'JsonKey' can only be used on fields or getters.

lib/model/color_name_model.dart:18:6

   ╷
18 │     @JsonKey(name: "textinvert") required String textInvert,
   │      ^^^^^^^
   ╵

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

WARNING: The annotation 'JsonKey' can only be used on fields or getters.

lib/model/color_name_model.dart:19:6

   ╷
19 │     @JsonKey(name: "hexcode") required String hexCode,
   │      ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/model/color_name_model.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
dio ^5.4.0 5.4.3+1 5.4.3+1
flutter flutter 0.0.0 0.0.0
freezed_annotation ^2.4.1 2.4.1 2.4.1
json_annotation ^4.8.1 4.9.0 4.9.0
logger ^2.0.2+1 2.2.0 2.2.0
retrofit ^4.1.0 4.1.0 4.1.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
http_parser - 4.0.2 4.0.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
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.5, Dart 3.3.3.

Check the analysis log for details.

3
likes
110
pub points
23%
popularity

Publisher

verified publisherkrishnavishwakarma.in

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