riverpod_repo 5.1.1 copy "riverpod_repo: ^5.1.1" to clipboard
riverpod_repo: ^5.1.1 copied to clipboard

Generate Riverpod FutureProvider, StreamProvider, and Provider declarations from repository interfaces using the repository pattern.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add riverpod_repo

With Flutter:

 $ flutter pub add riverpod_repo

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

dependencies:
  riverpod_repo: ^5.1.1

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

Import it

Now in your Dart code, you can use:

import 'package:riverpod_repo/riverpod_repo.dart';
8
likes
160
points
343
downloads

Documentation

Documentation
API reference

Publisher

verified publisherdilexus.dev

Weekly Downloads

Generate Riverpod FutureProvider, StreamProvider, and Provider declarations from repository interfaces using the repository pattern.

Homepage
Repository (GitHub)
View/report issues

Topics

#riverpod #code-generation #repository-pattern #flutter #dart

License

MIT (license)

Dependencies

analyzer, build, recase, riverpod, riverpod_annotation, source_gen

More

Packages that depend on riverpod_repo