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

GetX bindings for QueryX — reactive Query, Mutation & InfiniteQuery controllers with .obs state, automatic Obx/GetX rebuilds, and zero manual listener wiring.

Changelog #

0.1.1 #

Initial release.

  • setupQueryxClient / queryxClient — GetX DI registration for the shared QueryClient.
  • QueryxController<T>, MutationxController<T,V,C>, InfiniteQueryxController<T,P>GetxControllers wrapping Query/Mutation/InfiniteQuery, reactive via .obs snapshots.
  • useQuery, useMutation, useInfiniteQuery helpers that register controllers with GetX's DI by tag (defaulting to the query key for queries), so multiple widgets requesting the same resource share one controller in addition to the dedup queryx already does at the QueryClient level.
  • disposeQuery / disposeMutation / disposeInfiniteQuery for eager GetX-level cleanup independent of queryx's own cacheTime GC.
  • Test suite (flutter test): initial fetch, controller sharing by tag, QueryClient-level dedup independent of controller tags, invalidation, mutation + cache-based optimistic update + rollback, infinite pagination.
1
likes
160
points
174
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

GetX bindings for QueryX — reactive Query, Mutation & InfiniteQuery controllers with .obs state, automatic Obx/GetX rebuilds, and zero manual listener wiring.

Homepage
Repository (GitHub)
View/report issues

Topics

#getx #networking #caching #state-management

License

MIT (license)

Dependencies

flutter, get, queryx

More

Packages that depend on queryx_getx