flutter_query 0.5.1 copy "flutter_query: ^0.5.1" to clipboard
flutter_query: ^0.5.1 copied to clipboard

An async state management package that simplifies data fetching, caching, and updates.

0.5.1 - 2025-01-14 #

This release adds support for infinite/paginated queries.

  • useInfiniteQuery hook for paginated data fetching with automatic page accumulation
  • fetchNextPage and fetchPreviousPage for bidirectional pagination
  • hasNextPage and hasPreviousPage state for pagination controls
  • maxPages option to limit the number of accumulated pages
  • Full support for all standard query options (caching, refetching, retry, etc.)

0.4.0 - 2025-01-08 #

This release aligns the API with TanStack Query v5.

  • useQuery hook for data fetching with caching, refetching, and cancellation
  • useMutation hook for mutations with optimistic updates
  • useQueryClient hook for imperative cache operations
  • Client-level default options for queries and mutations

0.3.7 and earlier #

Legacy codebase. Not maintained.

33
likes
160
points
530
downloads

Publisher

verified publisherflutterquery.com

Weekly Downloads

An async state management package that simplifies data fetching, caching, and updates.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

clock, collection, flutter, flutter_hooks, meta

More

Packages that depend on flutter_query