themegen 0.2.0
themegen: ^0.2.0 copied to clipboard
A theme generator
We analyzed this package 2 days ago, and awarded it 40 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 60 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
.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 2 API elements (0.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: themegen
, themegen.themeGen
.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package not compatible with platform Android
Because:
package:themegen/themegen.dart
that imports:package:themegen/src/feature/theme/theme_generator.dart
that imports:package:source_gen/source_gen.dart
that imports:package:source_gen/src/type_checker.dart
that imports:dart:mirrors
Package not compatible with platform iOS
Because:
package:themegen/themegen.dart
that imports:package:themegen/src/feature/theme/theme_generator.dart
that imports:package:source_gen/source_gen.dart
that imports:package:source_gen/src/type_checker.dart
that imports:dart:mirrors
Package not compatible with platform Windows
Because:
package:themegen/themegen.dart
that imports:package:themegen/src/feature/theme/theme_generator.dart
that imports:package:source_gen/source_gen.dart
that imports:package:source_gen/src/type_checker.dart
that imports:dart:mirrors
Package not compatible with platform Linux
Because:
package:themegen/themegen.dart
that imports:package:themegen/src/feature/theme/theme_generator.dart
that imports:package:source_gen/source_gen.dart
that imports:package:source_gen/src/type_checker.dart
that imports:dart:mirrors
Package not compatible with platform macOS
Because:
package:themegen/themegen.dart
that imports:package:themegen/src/feature/theme/theme_generator.dart
that imports:package:source_gen/source_gen.dart
that imports:package:source_gen/src/type_checker.dart
that imports:dart:mirrors
Package not compatible with platform Web
Because:
package:themegen/themegen.dart
that imports:package:themegen/src/feature/theme/theme_producer.dart
that imports:package:themegen/src/feature/ext/model/input_model.dart
that imports:package:themegen/src/feature/ext/model/extension_model.dart
that imports:package:analyzer/dart/element/type.dart
that imports:package:analyzer/src/dart/element/type.dart
that imports:package:analyzer/src/generated/utilities_dart.dart
that imports:package:analyzer/src/dart/element/element.dart
that imports:package:analyzer/src/summary2/reference.dart
that imports:package:analyzer/dart/element/element.dart
that imports:package:analyzer/src/task/api/model.dart
that imports:package:analyzer/src/generated/source.dart
that imports:package:analyzer/src/generated/engine.dart
that imports:package:analyzer/error/listener.dart
that imports:package:analyzer/error/error.dart
that imports:package:analyzer/src/error/error_code_values.g.dart
that imports:package:analyzer/src/generated/parser.dart
that imports:package:analyzer/src/fasta/ast_builder.dart
that imports:package:analyzer/src/dart/ast/extensions.dart
that imports:package:analyzer/src/dart/ast/ast.dart
that imports:package:analyzer/src/generated/resolver.dart
that imports:package:analyzer/src/generated/static_type_analyzer.dart
that imports:package:analyzer/src/dart/resolver/invocation_inference_helper.dart
that imports:package:analyzer/src/dart/resolver/invocation_inferrer.dart
that imports:package:analyzer/src/dart/element/type_system.dart
that imports:package:analyzer/src/dart/element/well_bounded.dart
that imports:package:analyzer/src/dart/element/type_algebra.dart
that imports:package:analyzer/src/summary2/record_type_builder.dart
that imports:package:analyzer/src/dart/element/type_visitor.dart
that imports:package:analyzer/src/summary2/named_type_builder.dart
that imports:package:analyzer/src/summary2/link.dart
that imports:package:analyzer/src/summary2/top_level_inference.dart
that imports:package:analyzer/src/task/strong_mode.dart
that imports:package:analyzer/src/dart/element/inheritance_manager3.dart
that imports:package:analyzer/src/dart/element/member.dart
that imports:package:analyzer/dart/analysis/session.dart
that imports:package:analyzer/file_system/file_system.dart
that imports:package:analyzer/src/file_system/file_system.dart
that imports:package:analyzer/src/util/uri.dart
that imports:package:analyzer/src/summary/package_bundle_reader.dart
that imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
ERROR: The name 'ExtensionType' is defined in the libraries 'package:code_builder/src/specs/extension_type.dart (via package:code_builder/code_builder.dart)' and 'package:themegen/src/feature/ext/model/extension_model.dart'.
lib/src/feature/ext/logic/ext_producer.dart:32:47
╷
32 │ Class _extensionClass(String className, Set<ExtensionType> extensions) {
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/feature/ext/logic/ext_producer.dart
ERROR: The name 'ExtensionType' is defined in the libraries 'package:code_builder/src/specs/extension_type.dart (via package:code_builder/code_builder.dart)' and 'package:themegen/src/feature/ext/model/extension_model.dart'.
lib/src/feature/ext/logic/extension_method.dart:13:3
╷
13 │ ExtensionType ext,
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/feature/ext/logic/extension_method.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
analyzer |
^5.1.0 |
5.13.0 | 6.9.0 |
build |
^2.3.1 |
2.4.1 | 2.4.1 |
code_builder |
^4.3.0 |
4.10.0 | 4.10.0 |
collection |
^1.16.0 |
1.18.0 | 1.19.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
meta |
^1.8.0 |
1.15.0 | 1.15.0 |
pure |
^0.2.0 |
0.2.0 | 0.3.0 |
source_gen |
^1.2.5 |
1.5.0 | 1.5.0 |
themegen_annotation |
^0.0.4 |
0.0.4 | 0.0.4 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared |
- | 61.0.0 | 74.0.0 |
args |
- | 2.5.0 | 2.5.0 |
async |
- | 2.11.0 | 2.11.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
built_collection |
- | 5.1.1 | 5.1.1 |
built_value |
- | 8.9.2 | 8.9.2 |
characters |
- | 1.3.0 | 1.3.0 |
convert |
- | 3.1.1 | 3.1.1 |
crypto |
- | 3.0.5 | 3.0.5 |
dart_style |
- | 2.3.2 | 2.3.6 |
file |
- | 7.0.0 | 7.0.0 |
fixnum |
- | 1.1.0 | 1.1.0 |
glob |
- | 2.1.2 | 2.1.2 |
logging |
- | 1.2.0 | 1.2.0 |
matcher |
- | 0.12.16+1 | 0.12.16+1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
package_config |
- | 2.1.0 | 2.1.0 |
path |
- | 1.9.0 | 1.9.0 |
pub_semver |
- | 2.1.4 | 2.1.4 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.3.0 | 1.3.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.3 | 0.7.3 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
watcher |
- | 1.1.0 | 1.1.0 |
yaml |
- | 3.1.2 | 3.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^5.1.0` on analyzer does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions analyzer
to update the constraint.
The constraint `^0.2.0` on pure does not support the stable version `0.3.0`.
Try running dart pub upgrade --major-versions pure
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
UNDEFINED_GETTER
-lib/src/feature/ext/logic/ext_producer.dart:37:21
- The getter 'element' isn't defined for the type 'DartType'.UNDEFINED_GETTER
-lib/src/feature/ext/logic/extension_method.dart:15:23
- The getter 'element' isn't defined for the type 'DartType'.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.12
, Flutter 3.24.1
, Dart 3.5.1
.
Check the analysis log for details.