generate_dynamic_form 0.0.1 copy "generate_dynamic_form: ^0.0.1" to clipboard
generate_dynamic_form: ^0.0.1 copied to clipboard

The plugin for Flutter converts the JSON format into a custom form.

100/ 160
pub points
24
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting generate_dynamic_form... Discovering libraries... Linking elements... Precaching local docs for 650214 elements... Initialized dartdoc with 833 libraries Generating docs for library functions.dart from package:generate_dynamic_form/functions.dart... Generating docs for library widgets/required_text.dart from package:generate_dynamic_form/widgets/required_text.dart... Generating docs for library json_to_form.dart from package:generate_dynamic_form/json_to_form.dart... Generating docs for library json_schema.dart from package:generate_dynamic_form/json_schema.dart... Generating docs for library components/simple_text.dart from package:generate_dynamic_form/components/simple_text.dart... [11 more lines] ERR: warning: json_to_form has no library level documentation comments from json_to_form: (file:///tmp/pana_UVZPRO/lib/json_to_form.dart:1:1) warning: json_to_form has no library level documentation comments from json_to_form: (file:///tmp/pana_UVZPRO/lib/json_schema.dart:1:1) error: file already written at "json_to_form/index.html" for symbol json_to_form: (file:///tmp/pana_UVZPRO/lib/json_schema.dart:1:1) conflicting with file already generated by json_to_form: (file:///tmp/pana_UVZPRO/lib/json_to_form.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'json_to_form' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [16 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 22 issues. Showing the first 2:

INFO: Missing type annotation.

lib/components/simple_checkbox.dart:32:22

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

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

INFO: Missing type annotation.

lib/components/simple_checkbox.dart:32:28

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

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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
dropdown_search ^5.0.2 5.0.6 6.0.2
dropdown_textfield ^1.0.0 1.2.0 1.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
equatable - 2.0.8 2.0.8
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
vector_math - 2.2.0 2.2.0

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

The constraint `^5.0.2` on dropdown_search does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions dropdown_search to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_NAMED_PARAMETER - lib/components/simple_select_text.dart:79:17 - The named parameter 'controller' isn't defined.

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.23.10, Flutter 3.41.2, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

The plugin for Flutter converts the JSON format into a custom form.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

dropdown_search, dropdown_textfield, flutter

More

Packages that depend on generate_dynamic_form