json_dynamic_widget_generator 0.1.0 copy "json_dynamic_widget_generator: ^0.1.0" to clipboard
json_dynamic_widget_generator: ^0.1.0 copied to clipboard

Generate builder for widget to use it with json_dynamic_widget

0
likes
110/ 160
pub points
62
downloads

We analyzed this package in the last hour, and awarded it 110 pub points (of a possible 160):

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

10 out of 21 API elements (47.6 %) have documentation comments.

Some symbols that are missing documentation: child_param, child_param.ChildType, child_param.getChildCount, converters, json_dynamic_widget.

10/10 points: Package has an example

failed
Platform support
0 / 20trigger folding of the section

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:json_dynamic_widget_generator/json_dynamic_widget_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:json_dynamic_widget_generator/json_dynamic_widget_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:json_dynamic_widget_generator/json_dynamic_widget_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:json_dynamic_widget_generator/json_dynamic_widget_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:json_dynamic_widget_generator/json_dynamic_widget_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:json_dynamic_widget_generator/json_dynamic_widget_generator.dart that imports:
  • package:json_dynamic_widget_generator/templates/template.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/sdk.dart that imports:
  • package:analyzer/dart/ast/visitor.dart that imports:
  • package:analyzer/dart/ast/ast.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/macro.dart that imports:
  • package:analyzer/src/summary2/kernel_compilation_service.dart that imports:
  • package:_fe_analyzer_shared/src/macros/compiler/request_channel.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:json_dynamic_widget_generator/json_dynamic_widget_generator.dart that imports:
  • package:json_dynamic_widget_generator/templates/template.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/sdk.dart that imports:
  • package:analyzer/dart/ast/visitor.dart that imports:
  • package:analyzer/dart/ast/ast.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/macro.dart that imports:
  • package:analyzer/src/summary2/kernel_compilation_service.dart that imports:
  • package:_fe_analyzer_shared/src/macros/compiler/request_channel.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.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

WARNING: The value of the local variable 'all' isn't used.

lib/templates/template_zero_arguments.dart:17:9

   ╷
17 │   final all = required.followedBy(optional).followedBy(named).toList();
   │         ^^^
   ╵

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

WARNING: The value of the local variable 'positional' isn't used.

lib/templates/template_zero_arguments.dart:18:9

   ╷
18 │   final positional = required.followedBy(optional).toList();
   │         ^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
analyzer >=2.0.0 <6.0.0 5.13.0 7.1.0
build ^2.0.0 2.4.1 2.4.2
flutter flutter 0.0.0 0.0.0
json_dynamic_widget_annotation ^0.1.0 0.1.0 0.1.0
recase ^4.0.0 4.1.0 4.1.0
source_gen ^1.1.0 1.5.0 2.0.0
theme_json_converter ^0.1.0 0.1.0 0.3.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 61.0.0 78.0.0
args - 2.6.0 2.6.0
asn1lib - 1.5.8 1.5.8
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
characters - 1.3.0 1.4.0
child_builder - 2.0.2 2.0.2
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.3.2 3.0.1
encrypt - 5.0.3 5.0.3
fake_async - 1.3.2 1.3.2
file - 7.0.1 7.0.1
form_validation - 2.2.1+6 3.2.0
glob - 2.1.2 2.1.2
http - 1.2.2 1.2.2
http_parser - 4.1.2 4.1.2
interpolation - 2.1.2 2.1.2
intl - 0.18.1 0.20.1
js - 0.7.1 0.7.1
json_annotation - 4.9.0 4.9.0
json_class - 2.2.2+1 3.0.1
json_conditional - 2.1.2+3 3.0.1+17
json_dynamic_widget - 5.1.7+2 8.0.0
json_path - 0.4.4 0.7.4
json_schema2 - 2.0.4+9 5.1.3
json_theme - 4.0.3+5 7.0.0+2
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
package_config - 2.1.1 2.1.1
path - 1.9.1 1.9.1
petitparser - 5.1.0 6.0.2
pointycastle - 3.9.1 3.9.1
provider - 6.1.2 6.1.2
pub_semver - 2.1.5 2.1.5
quiver - 3.2.2 3.2.2
rest_client - 2.2.3+2 2.4.0
rfc_6901 - 0.1.1 0.2.0
rxdart - 0.27.7 0.28.0
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
static_translations - 2.1.2+12 2.1.2+12
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
template_expressions - 2.2.3+2 3.3.1+2
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.4
watcher - 1.1.1 1.1.1
web - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3
yaon - 1.1.4+10 1.1.4+10

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `>=2.0.0 <6.0.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 `^1.1.0` on source_gen does not support the stable version `2.0.0`, that was published 18 days ago.

When source_gen is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions source_gen 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

0
likes
110
points
62
downloads

Publisher

unverified uploader

Weekly Downloads

Generate builder for widget to use it with json_dynamic_widget

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, flutter, json_dynamic_widget_annotation, recase, source_gen, theme_json_converter

More

Packages that depend on json_dynamic_widget_generator