hexcolorname 0.0.9 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.
We analyzed this package 21 hours ago, and awarded it 130 pub points (of a possible 160):
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
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT:
Documenting hexcolorname...
Discovering libraries...
Linking elements...
Precaching local docs for 1171105 elements...
Initialized dartdoc with 1095 libraries
Generating docs for library service/api_service.dart from package:hexcolorname/service/api_service.dart...
Generating docs for library app/app.dart from package:hexcolorname/app/app.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 utils/utils.dart from package:hexcolorname/utils/utils.dart...
[4 more lines]
ERR:
warning: hexcolorname has no library level documentation comments
from hexcolorname: (file:///tmp/pana_WFEAWH/lib/app/app.dart:3:9)
error: file already written at "hexcolorname/hexcolorname-library.html"
for symbol hexcolorname: (file:///tmp/pana_WFEAWH/lib/hexcolorname.dart:1:1)
conflicting with file already generated by hexcolorname: (file:///tmp/pana_WFEAWH/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
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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.
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
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
dio |
^5.4.0 |
5.7.0 | 5.7.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
freezed_annotation |
^2.4.1 |
2.4.4 | 2.4.4 |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 |
logger |
^2.0.2+1 |
2.5.0 | 2.5.0 |
retrofit |
^4.1.0 |
4.4.1 | 4.4.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.0 | 1.19.1 |
dio_web_adapter |
- | 2.0.0 | 2.0.0 |
http_parser |
- | 4.0.2 | 4.1.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.15
, Flutter 3.24.5
, Dart 3.5.4
.
Check the analysis log for details.