patapata_riverpod 1.1.0 patapata_riverpod: ^1.1.0 copied to clipboard
This package is a plugin for Patapata that adds support for Riverpod to your Patapata app.
Patapata - Riverpod
Add support for Riverpod to your Patapata app.
About #
This package is a plugin for Patapata that adds support for Riverpod to your Patapata app.
It will automatically inject your app's environment into your Riverpod providers.
Getting started #
- Add the dependency to your
pubspec.yaml
file
flutter pub add patapata_riverpod
- Import the package
import 'package:patapata_riverpod/patapata_riverpod.dart';
- Activate the plugin
void main() {
App(
environment: const Environment(),
plugins: [
RiverpodPlugin(),
],
)
.run();
}
- See the providers you can use by reading the API documentation.
Contributing #
Check out the CONTRIBUTING guide to get started.