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

outdated

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

0
likes
50/ 160
pub points
33%
popularity

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

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: BSD-3-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

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, form_from_json.ComponentData.component, form_from_json.ComponentData.object.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 17 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:111:60

    ╷
111 │                         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 'headline2' isn't defined for the type 'TextTheme'.

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

    ╷
132 │                         style: Theme.of(context).textTheme.headline2,
    │                                                            ^^^^^^^^^
    ╵

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
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest
dartz ^0.10.1 0.10.1 0.10.1
flutter flutter 0.0.0 0.0.0
flutter_triple ^1.2.6 1.2.7+4 3.0.0
google_fonts ^2.3.0 2.3.3 6.2.1
intl ^0.17.0 0.17.0 0.19.0
mocktail ^0.2.0 0.2.0 1.0.3
provider ^6.0.2 6.1.2 6.1.2
uno ^1.0.1+3 1.1.10 1.1.10
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 67.0.0 70.0.0
analyzer - 6.4.1 6.5.2
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
coverage - 1.8.0 1.8.0
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
frontend_server_client - 4.0.0 4.0.0
glob - 2.1.2 2.1.2
http - 0.13.6 1.2.1
http_multi_server - 3.2.1 3.2.1
http_parser - 4.0.2 4.0.2
io - 1.0.4 1.0.4
js - 0.7.1 0.7.1
logging - 1.2.0 1.2.0
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
mime - 1.0.5 1.0.5
mime_type - 1.0.0 1.0.0
nested - 1.0.0 1.0.0
node_preamble - 2.0.2 2.0.2
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.5 2.2.5
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
pool - 1.5.1 1.5.1
pub_semver - 2.1.4 2.1.4
rx_notifier - 1.1.0 2.3.0
shelf - 1.4.1 1.4.1
shelf_packages_handler - 3.0.2 3.0.2
shelf_static - 1.1.2 1.1.2
shelf_web_socket - 1.0.4 2.0.0
sky_engine - 0.0.99 0.0.99
source_map_stack_trace - 2.1.1 2.1.1
source_maps - 0.10.12 0.10.12
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.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test - 1.25.2 1.25.7
test_api - 0.7.0 0.7.2
test_core - 0.6.0 0.6.4
triple - 1.5.0+1 2.1.0
typed_data - 1.3.2 1.3.2
universal_io - 2.2.2 2.2.2
vector_math - 2.1.4 2.1.4
vm_service - 14.2.3 14.2.3
watcher - 1.1.0 1.1.0
web - 0.5.1 0.5.1
web_socket_channel - 2.4.5 3.0.0
webkit_inspection_protocol - 1.2.1 1.2.1
win32 - 5.5.1 5.5.1
xdg_directories - 1.0.4 1.0.4
yaml - 3.1.2 3.1.2

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

Found 4 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.

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 14 errors:

  • UNDEFINED_GETTER - lib/src/form_converter/presenter/components/fields/datetime_component.dart:111:60 - The getter 'headline3' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/src/form_converter/presenter/components/fields/datetime_component.dart:132:60 - The getter 'headline2' 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.22.5, Flutter 3.22.1, Dart 3.4.1.

Check the analysis log for details.

0
likes
50
pub points
33%
popularity

Publisher

unverified uploader

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