context_provider 0.1.0 copy "context_provider: ^0.1.0" to clipboard
context_provider: ^0.1.0 copied to clipboard

Flutter context provider to provide state with reducer combined as map of type and the reducer. Along with the useSelector hook and useDispatch hook.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add context_provider

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

dependencies:
  context_provider: ^0.1.0

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

Import it

Now in your Dart code, you can use:

import 'package:context_provider/context_provider.dart';
3
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Flutter context provider to provide state with reducer combined as map of type and the reducer. Along with the useSelector hook and useDispatch hook.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, provider

More

Packages that depend on context_provider