figma_vars_to_dart 0.2.0
figma_vars_to_dart: ^0.2.0 copied to clipboard
Convert Figma variables to Dart
We analyzed this package 18 hours ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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
.
10/10 points: 20% or more of the public API has dartdoc comments
69 out of 223 API elements (30.9 %) have documentation comments.
Some symbols that are missing documentation: code_entities
, code_entities.ClassField
, code_entities.ClassField.ClassField.new
, code_entities.ClassField.copyWith
, code_entities.ClassField.name
.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:figma_vars_to_dart/commands/commands.dart
that imports:package:figma_vars_to_dart/commands/download_icons_from_args.dart
that imports:package:figma_vars_to_dart/services/services.dart
that imports:package:figma_vars_to_dart/services/writer/writer.dart
that imports:package:figma_vars_to_dart/services/writer/writer_service.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:figma_vars_to_dart/commands/commands.dart
that imports:package:figma_vars_to_dart/commands/download_icons_from_args.dart
that imports:package:figma_vars_to_dart/services/services.dart
that imports:package:figma_vars_to_dart/services/writer/writer.dart
that imports:package:figma_vars_to_dart/services/writer/writer_service.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
WARNING: The parameter type of '==' operators should be non-nullable.
lib/services/parser/code_entities.freezed.dart:139:17
╷
139 │ bool operator ==(dynamic other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/services/parser/code_entities.freezed.dart
WARNING: The parameter type of '==' operators should be non-nullable.
lib/services/parser/code_entities.freezed.dart:305:17
╷
305 │ bool operator ==(dynamic other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/services/parser/code_entities.freezed.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
^2.4.2 |
2.7.0 | 2.7.0 | |
dio |
^5.2.1+1 |
5.9.0 | 5.9.0 | |
freezed_annotation |
^2.4.1 |
2.4.4 | 3.1.0 | |
json_serializable |
^6.7.1 |
6.11.1 | 6.11.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_fe_analyzer_shared |
- | 89.0.0 | 89.0.0 | |
analyzer |
- | 8.2.0 | 8.2.0 | |
async |
- | 2.13.0 | 2.13.0 | |
build |
- | 4.0.1 | 4.0.1 | |
build_config |
- | 1.2.0 | 1.2.0 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dart_style |
- | 3.1.2 | 3.1.2 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
source_gen |
- | 4.0.1 | 4.0.1 | |
source_helper |
- | 1.3.8 | 1.3.8 | |
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 | |
watcher |
- | 1.1.3 | 1.1.3 | |
web |
- | 1.1.1 | 1.1.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
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.
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.23
, Dart 3.9.3
.
Check the analysis log for details.