json_to_widget 0.0.5+4 copy "json_to_widget: ^0.0.5+4" to clipboard
json_to_widget: ^0.0.5+4 copied to clipboard

Payload A flutter plugin to use convert Json to widget

2
likes
100/ 140
pub points
25%
popularity

We analyzed this package 5 days ago, and awarded it 100 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting json_to_widget... Discovering libraries... Linking elements... Precaching local docs for 605881 elements... Initialized dartdoc with 747 libraries Generating docs for library json_nav.dart from package:json_to_widget/json_nav.dart... Generating docs for library json_to_widget.dart from package:json_to_widget/json_to_widget.dart... Generating docs for library json_form.dart from package:json_to_widget/json_form.dart... Generating docs for library ron.dart from package:json_to_widget/ron.dart... Generating docs for library custom_decoration.dart from package:json_to_widget/custom_decoration.dart... [3 more lines] ERR: The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. [4923 more lines]

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 13 issues. Showing the first 2:

WARNING: This function has a nullable return type of 'String?', but ends without returning a value.

lib/json_form.array.dart:44:11

   ╷
44 │   String? isRequired(item, value) {
   │           ^^^^^^^^^^
   ╵

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

WARNING: This function has a nullable return type of 'String?', but ends without returning a value.

lib/json_form.array.dart:50:11

   ╷
50 │   String? validateEmail(item, String value) {
   │           ^^^^^^^^^^^^^
   ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

Analyzed with Pana 0.22.3, Flutter 3.22.1, Dart 3.4.1.

Check the analysis log for details.

2
likes
100
pub points
25%
popularity

Publisher

unverified uploader

Payload A flutter plugin to use convert Json to widget

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on json_to_widget