flex_theme_gen 1.0.4
flex_theme_gen: ^1.0.4 copied to clipboard
Generate Flutter theme code from design tokens (YAML/JSON).
We analyzed this package 29 hours ago, and awarded it 125 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/DebugAlvin/flex_theme_gen was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/DebugAlvin/flex_theme_gen was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/DebugAlvin/flex_theme_gen/issues was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.4").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
5 out of 15 API elements (33.3 %) have documentation comments.
Some symbols that are missing documentation: flex_theme_gen.Paths, flex_theme_gen.Paths.Paths.new, flex_theme_gen.Paths.inputPath, flex_theme_gen.Paths.joinOut, flex_theme_gen.Paths.loadTpl.
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:flex_theme_gen/flex_theme_gen.dartthat imports:package:flex_theme_gen/src/core/base.dartthat imports:package:flex_theme_gen/src/utils/yaml_util.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flex_theme_gen/flex_theme_gen.dartthat imports:package:flex_theme_gen/src/core/base.dartthat imports:package:flex_theme_gen/src/utils/yaml_util.dartthat 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.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 23 issues. Showing the first 2:
WARNING: The '!' will have no effect because the receiver can't be null.
lib/src/core/tokens_generator.dart:99:43
╷
99 │ ? 'colors.${_safe(borderColorToken!)}'
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/tokens_generator.dart
WARNING: The value of the local variable 'outAlias' isn't used.
lib/src/core/tokens_generator.dart:113:11
╷
113 │ final outAlias = File(paths.joinOut(aliasFileName))
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/tokens_generator.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
^2.5.0 |
2.7.0 | 2.7.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
yaml |
^3.1.2 |
3.1.3 | 3.1.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.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 |
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.23.0, Dart 3.9.4.
Check the analysis log for details.