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

Libraries

patapata_riverpod