Skip to main content

keyed_form_gen 0.2.1 copy "keyed_form_gen: ^0.2.1" to clipboard
keyed_form_gen: ^0.2.1 copied to clipboard

build_runner code generator for keyed_form_schema: turns a schema into immutable data models, keyed_form_core field references and type-safe validation functions.

80/ 160
pub points
495
downloads

We analyzed this package 13 hours ago, and awarded it 80 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: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

10 out of 12 API elements (83.3 %) have documentation comments.

Some symbols that are missing documentation: keyed_form_gen.KeyedFormGenerator.throwOnUnresolved, keyed_form_gen.KeyedFormGenerator.typeChecker.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

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

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 25 issues. Showing the first 2:

ERROR: The argument type 'Argument' can't be assigned to the parameter type 'Expression'.

lib/src/expression_type_resolver.dart:97:43

   ╷
97 │         final innerType = resolveDartType(args.first) ?? 'Object';
   │                                           ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/expression_type_resolver.dart

ERROR: The argument type 'Argument' can't be assigned to the parameter type 'Expression'.

lib/src/expression_type_resolver.dart:109:35

    ╷
109 │         final k = resolveDartType(args[0]) ?? 'Object';
    │                                   ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/expression_type_resolver.dart

Partially passed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
analyzer >=12.0.0 <14.0.0 13.3.0 14.6.0
build ^4.0.0 4.0.11 5.0.0
dart_style ^3.1.0 3.1.14 3.1.14
keyed_form_core ^0.2.0 0.2.0 0.2.0
source_gen ^4.0.0 4.2.4 4.3.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 103.0.0 110.0.0
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.8 3.0.8
file - 7.0.1 7.0.1
glob - 2.2.0 2.2.0
keyed_lens - 0.2.0 0.2.0
logging - 1.3.0 1.3.0
meta - 1.19.0 1.19.0
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
pub_semver - 2.2.1 2.2.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
watcher - 1.2.1 1.2.1
yaml - 3.1.4 3.1.4

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

The constraint `>=12.0.0 <14.0.0` on analyzer does not support the stable version `14.0.0`.

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

The constraint `^4.0.0` on build does not support the stable version `5.0.0`, that was published 13 days ago.

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

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
80
points
495
downloads

Documentation

API reference

Publisher

verified publisherv4g.space

Weekly Downloads

build_runner code generator for keyed_form_schema: turns a schema into immutable data models, keyed_form_core field references and type-safe validation functions.

Homepage
Repository (GitHub)
View/report issues

Topics

#dart #codegen #build-runner #form #immutable

License

MIT (license)

Dependencies

analyzer, build, dart_style, keyed_form_core, source_gen

More

Packages that depend on keyed_form_gen