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

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

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add riverpod_generator

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  riverpod_generator: ^2.4.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:riverpod_generator/builder.dart';
329
likes
130
pub points
98%
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