Skip to main content

queryx_riverpod 0.1.1 copy "queryx_riverpod: ^0.1.1" to clipboard
queryx_riverpod: ^0.1.1 copied to clipboard

Riverpod bindings for QueryX — reactive queries, mutations, and infinite pagination with automatic widget rebuilds.

Changelog #

0.1.1 #

Initial release.

  • queryxClientProvider — the single QueryClient override point.
  • queryProvider<T> — .autoDispose StateNotifierProvider backed by a queryx Query<T>, exposing QueryxSnapshot<T> with a when() helper.
  • mutationProvider<T,V,C> — backed by a queryx Mutation<T,V,C>. optionsBuilder receives Ref so lifecycle callbacks can reach queryxClientProvider for cache writes/invalidation.
  • infiniteQueryProvider<T,P> — backed by a queryx InfiniteQuery<T,P>.
  • QueryNotifier, MutationNotifier, InfiniteQueryNotifier exposed directly for the .family / dependent-query pattern (see README).
  • Depends on pure-Dart riverpod, not flutter_riverpod — the whole binding layer is unit-testable with dart test, no Flutter harness needed.
  • Test suite: initial fetch, cross-provider deduplication on a shared QueryKey, invalidation-triggered refetch, mutation lifecycle + invalidation, infinite pagination.
1
likes
150
points
87
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Riverpod bindings for QueryX — reactive queries, mutations, and infinite pagination with automatic widget rebuilds.

Homepage
Repository (GitHub)
View/report issues

Topics

#riverpod #networking #caching #state-management

License

MIT (license)

Dependencies

queryx, riverpod

More

Packages that depend on queryx_riverpod