patapata_riverpod 1.0.2 copy "patapata_riverpod: ^1.0.2" to clipboard
patapata_riverpod: ^1.0.2 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 #

  1. Add the dependency to your pubspec.yaml file
flutter pub add patapata_riverpod
  1. Import the package
import 'package:patapata_riverpod/patapata_riverpod.dart';
  1. Activate the plugin
void main() {
  App(
    environment: const Environment(),
    plugins: [
      RiverpodPlugin(),
    ],
  )
  .run();
}
  1. See the providers you can use by reading the API documentation.

Contributing #

Check out the CONTRIBUTING guide to get started.

License #

See the LICENSE file

0
likes
130
pub points
0%
popularity

Publisher

verified publishergree.co.jp

This package is a plugin for Patapata that adds support for Riverpod to your Patapata app.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_riverpod, patapata_core, riverpod_annotation

More

Packages that depend on patapata_riverpod