flutter_dva_hooks 1.0.9
flutter_dva_hooks: ^1.0.9 copied to clipboard
Declarative hooks for Flutter Dva state management. Provides useDvaConnect, useDvaProps, and useDvaStore hooks on flutter_hooks for reactive store access in Flutter widgets.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_dva_hooksThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_dva_hooks: ^1.0.9Alternatively, 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:flutter_dva_hooks/flutter_dva_hooks.dart';