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

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

335
likes
120/ 140
pub points
97%
popularity

We analyzed this package 2 hours ago, and awarded it 120 pub points (of a possible 140):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/rrousselGit/riverpod/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

1 out of 2 API elements (50.0 %) have documentation comments.

Some symbols that are missing documentation: builder.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:riverpod_generator/builder.dart that imports:
  • package:riverpod_generator/src/riverpod_generator.dart that imports:
  • package:riverpod_generator/src/parse_generator.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:riverpod_generator/builder.dart that imports:
  • package:riverpod_generator/src/riverpod_generator.dart that imports:
  • package:riverpod_generator/src/parse_generator.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:riverpod_generator/builder.dart that imports:
  • package:riverpod_generator/src/riverpod_generator.dart that imports:
  • package:riverpod_generator/src/templates/stateless_provider.dart that imports:
  • package:riverpod_generator/src/templates/stateful_provider.dart that imports:
  • package:riverpod_analyzer_utils/riverpod_analyzer_utils.dart that imports:
  • package:riverpod_analyzer_utils/src/riverpod_visitor.dart that imports:
  • package:riverpod_analyzer_utils/src/riverpod_ast.dart that imports:
  • package:riverpod_analyzer_utils/src/riverpod_types.dart that imports:
  • package:custom_lint_core/custom_lint_core.dart that imports:
  • package:custom_lint_core/src/type_checker.dart that imports:
  • package:analyzer/dart/element/type.dart that imports:
  • package:analyzer/dart/element/element.dart that imports:
  • package:analyzer/src/task/api/model.dart that imports:
  • package:analyzer/src/generated/source.dart that imports:
  • package:analyzer/src/generated/engine.dart that imports:
  • package:analyzer/error/listener.dart that imports:
  • package:analyzer/error/error.dart that imports:
  • package:analyzer/src/error/error_code_values.g.dart that imports:
  • package:analyzer/src/generated/parser.dart that imports:
  • package:analyzer/src/fasta/ast_builder.dart that imports:
  • package:analyzer/src/generated/utilities_dart.dart that imports:
  • package:analyzer/src/dart/element/element.dart that imports:
  • package:analyzer/src/summary2/macro.dart that imports:
  • package:analyzer/src/summary2/kernel_compilation_service.dart that imports:
  • package:_fe_analyzer_shared/src/macros/compiler/request_channel.dart that imports:
  • dart:io
OK
Pass static analysis
50 / 50trigger folding of the section

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
analyzer >4.2.0 <6.0.0 5.4.0 6.5.0
build ^2.0.0 2.4.1 2.4.1
build_config ^1.0.0 1.1.1 1.1.1
collection ^1.15.0 1.18.0 1.18.0
crypto ^3.0.2 3.0.3 3.0.3
meta ^1.7.0 1.15.0 1.15.0
path ^1.8.0 1.9.0 1.9.0
riverpod_analyzer_utils ^0.0.1 0.0.2 0.5.3
riverpod_annotation ^1.2.1 1.2.1 2.3.5
source_gen ^1.2.0 1.5.0 1.5.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 52.0.0 68.0.0
analyzer_plugin - 0.11.2 0.11.3
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
checked_yaml - 2.0.3 2.0.3
cli_util - 0.3.5 0.4.1
convert - 3.1.1 3.1.1
custom_lint - 0.2.12 0.6.4
custom_lint_core - 0.2.12 0.6.3
dart_style - 2.2.5 2.3.6
file - 7.0.0 7.0.0
freezed_annotation - 2.4.1 2.4.1
glob - 2.1.2 2.1.2
json_annotation - 4.9.0 4.9.0
logging - 1.2.0 1.2.0
matcher - 0.12.16+1 0.12.16+1
package_config - 2.1.0 2.1.0
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.2.3 1.2.3
recase - 4.1.0 4.1.0
riverpod - 2.2.0 2.5.1
rxdart - 0.27.7 0.27.7
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
state_notifier - 0.7.2+1 1.0.0
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_api - 0.7.1 0.7.1
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 4.4.0
watcher - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

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

Found 3 issues. Showing the first 2:

The constraint `>4.2.0 <6.0.0` on analyzer does not support the stable version `6.0.0`.

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

The constraint `^0.0.1` on riverpod_analyzer_utils does not support the stable version `0.1.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.

335
likes
120
pub points
97%
popularity

Publisher

verified publisherdash-overflow.net

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

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

MIT (LICENSE)

Dependencies

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

More

Packages that depend on riverpod_generator