form_from_json 0.0.4 copy "form_from_json: ^0.0.4" to clipboard
form_from_json: ^0.0.4 copied to clipboard

A new project that allows you render a form page from JSON.

55/ 160
pub points
29
downloads

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

Failed report section
Follow Dart file conventions
25 / 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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.4").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: BSD-3-Clause.

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

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

8 out of 48 API elements (16.7 %) 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: form_from_json, form_from_json.ComponentData, form_from_json.ComponentData.ComponentData.new, form_from_json.ComponentData.component, form_from_json.ComponentData.object.

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 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:form_from_json/form_from_json.dart that imports:
  • package:form_from_json/src/form_from_json_app.dart that imports:
  • package:form_from_json/src/data_by_url/external/datasources/get_data_by_url_datasource.dart that imports:
  • package:uno/uno.dart that imports:
  • package:uno/src/presenter/uno_base.dart that imports:
  • package:uno/src/inject_context.dart that imports:
  • package:uno/src/infra/infra.dart that imports:
  • package:uno/src/domain/domain.dart that imports:
  • package:uno/src/core/form_data/form_data.dart that imports:
  • package:uno/src/core/form_data/src/form_data.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/universal_io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 32 issues. Showing the first 2:

ERROR: The getter 'headline3' isn't defined for the type 'TextTheme'.

lib/src/form_converter/presenter/components/fields/datetime_component.dart:108:60

    ╷
108 │                         style: Theme.of(context).textTheme.headline3,
    │                                                            ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/form_converter/presenter/components/fields/datetime_component.dart

ERROR: The getter 'headline3' isn't defined for the type 'TextTheme'.

lib/src/form_converter/presenter/components/fields/datetime_component.dart:127:60

    ╷
127 │                         style: Theme.of(context).textTheme.headline3,
    │                                                            ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/form_converter/presenter/components/fields/datetime_component.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
dartz ^0.10.1 0.10.1 0.10.1
flutter_triple ^1.2.6 1.2.7+4 3.0.0
google_fonts ^2.3.0 2.3.3 8.0.1
intl ^0.17.0 0.17.0 0.20.2
mocktail ^0.2.0 0.2.0 1.0.4
provider ^6.0.2 6.1.5+1 6.1.5+1
uno ^1.0.1+3 1.1.12 1.1.12 Discontinued
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 93.0.0 94.0.0
analyzer - 10.0.1 10.0.2
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
cli_config - 0.2.0 0.2.0
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
coverage - 1.15.0 1.15.0
crypto - 3.0.7 3.0.7
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
frontend_server_client - 4.0.0 4.0.0
glob - 2.1.3 2.1.3
hooks - 1.0.1 1.0.1
http - 0.13.6 1.6.0
http_multi_server - 3.2.2 3.2.2
http_parser - 4.1.2 4.1.2
io - 1.0.5 1.0.5
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.1
mime - 2.0.0 2.0.0
mime_type - 1.0.1 1.0.1
native_toolchain_c - 0.17.4 0.17.4
nested - 1.0.0 1.0.0
node_preamble - 2.0.2 2.0.2
objective_c - 9.3.0 9.3.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pool - 1.5.2 1.5.2
pub_semver - 2.2.0 2.2.0
rx_notifier - 1.1.0 2.3.0
shelf - 1.4.2 1.4.2
shelf_packages_handler - 3.0.2 3.0.2
shelf_static - 1.1.3 1.1.3
shelf_web_socket - 3.0.0 3.0.0
source_map_stack_trace - 2.1.2 2.1.2
source_maps - 0.10.13 0.10.13
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test - 1.29.0 1.29.0
test_api - 0.7.9 0.7.9
test_core - 0.6.15 0.6.15
triple - 1.5.0+1 2.1.0
typed_data - 1.4.0 1.4.0
universal_io - 2.3.1 2.3.1
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
webkit_inspection_protocol - 1.2.1 1.2.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

Found 5 issues. Showing the first 2:

The constraint `^1.2.6` on flutter_triple does not support the stable version `2.0.0`.

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

The constraint `^2.3.0` on google_fonts does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions google_fonts 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 15 errors:

  • UNDEFINED_GETTER - lib/src/form_converter/presenter/components/fields/datetime_component.dart:108:60 - The getter 'headline3' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/src/form_converter/presenter/components/fields/datetime_component.dart:127:60 - The getter 'headline3' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/src/form_converter/presenter/components/fields/dropdown_component.dart:86:58 - The getter 'headline3' isn't defined for the type 'TextTheme'.

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.9, Flutter 3.38.9, Dart 3.10.8.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
55
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

A new project that allows you render a form page from JSON.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dartz, flutter, flutter_triple, google_fonts, intl, mocktail, provider, uno

More

Packages that depend on form_from_json