fuery_hooks 1.6.0
fuery_hooks: ^1.6.0 copied to clipboard
Hooks for Fuery: useQuery, useInfiniteQuery, useMutation, useQueries, and useMutationState for flutter_hooks, with useOnQueryChange and useOnMutationChange for side effects.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add fuery_hooksThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
fuery_hooks: ^1.6.0Alternatively, 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:fuery_hooks/fuery_hooks.dart';