riverpod_generator 4.0.1 copy "riverpod_generator: ^4.0.1" to clipboard
riverpod_generator: ^4.0.1 copied to clipboard

A code generator for Riverpod. This both simplifies the syntax empowers it, such as allowing stateful hot-reload.

40/ 160
pub points
431k
downloads

We analyzed this package 4 days ago, and awarded it 40 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.

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

Dependency resolution failed, unable to run dartdoc.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Failed check 0/20 points: Platform support detection failed

Could not determine supported platforms as package resolution failed.

Run dart pub get for more information.

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

  • Running dart pub outdated failed with the following output:
Because riverpod_analyzer_utils >=1.0.0-dev.5 <1.0.0-dev.9 depends on analyzer_buffer ^0.1.9 and riverpod_generator depends on analyzer_buffer ^0.3.0, riverpod_analyzer_utils >=1.0.0-dev.5 <1.0.0-dev.9 is forbidden.
So, because riverpod_generator depends on riverpod_analyzer_utils 1.0.0-dev.8, version solving failed.
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

  • Could not run dart pub outdated: dart pub get failed:
OUT:
Resolving dependencies...
ERR:
Because riverpod_analyzer_utils >=1.0.0-dev.5 <1.0.0-dev.9 depends on analyzer_buffer ^0.1.9 and riverpod_generator depends on analyzer_buffer ^0.3.0, riverpod_analyzer_utils >=1.0.0-dev.5 <1.0.0[...]
So, because riverpod_generator depends on riverpod_analyzer_utils 1.0.0-dev.8, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Try upgrading your constraint on riverpod_analyzer_utils: dart pub add riverpod_analyzer_utils:^1.0.0-dev.9

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

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

dart pub downgrade failed with:

OUT:
Resolving dependencies...
ERR:
Because riverpod_analyzer_utils >=1.0.0-dev.5 <1.0.0-dev.9 depends on analyzer_buffer ^0.1.9 and riverpod_generator depends on analyzer_buffer ^0.3.0, riverpod_analyzer_utils >=1.0.0-dev.5 <1.0.0[...]
So, because riverpod_generator depends on riverpod_analyzer_utils 1.0.0-dev.8, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Try upgrading your constraint on riverpod_analyzer_utils: dart pub add riverpod_analyzer_utils:^1.0.0-dev.9

Run dart pub downgrade and then dart 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.8, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
424
likes
40
points
431k
downloads

Publisher

verified publisherdash-overflow.net

Weekly Downloads

A code generator for Riverpod. This both simplifies the syntax empowers it, such as allowing stateful hot-reload.

Repository (GitHub)
View/report issues
Contributing

Topics

#state-management #caching #dependency-injection #riverpod #codegen

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

analyzer, analyzer_buffer, build, build_config, collection, crypto, meta, mockito, path, riverpod_analyzer_utils, riverpod_annotation, source_gen

More

Packages that depend on riverpod_generator