Search packages, repositories and app categories

Package detailsv3.4.1

cached_query_flutter

Assortment of builders and addons for use with Cached Query in flutter.

AndroidiOSmacOSWindowsLinux
30-day downloads
13.3K
Likes
39
Pub points
160

Install package

flutter pub add cached_query_flutter

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Cached Query Flutter is a package that provides builders and utilities to enhance state management in Flutter applications using the Cached Query library. It simplifies data fetching, caching, and UI updates by offering reactive widgets and helpers that integrate seamlessly with the Cached Query framework. Designed for efficient, real-time data handling, it reduces boilerplate and improves performance by managing query states, loading indicators, and error handling automatically. Ideal for apps requiring dynamic data synchronization with minimal code.

Use cases

  • Real-time data display
  • Offline-first applications
  • API data caching
  • Dynamic UI updates
  • Reducing network calls
  • Simplified state management

Key features

  • Reactive query builders
  • Automatic caching
  • Error and loading state handling
  • Minimal boilerplate
  • Integration with Cached Query core
  • Cross-platform support

Suitable for

  • Developers using Cached Query
  • Apps needing efficient data fetching
  • Teams prioritizing performance
  • Flutter apps with frequent API calls
  • Projects requiring offline capabilities

Considerations

  • Requires Cached Query core
  • Limited standalone functionality
  • Dependent on proper setup
  • Best suited for state-heavy apps
  • May add complexity for simple use cases

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Cached Query

Visit the documentation for more information.

A small collection of dart and flutter libraries inspired by tools such as SWR, RTKQuery, React Query, Urql and apollo from the React world.

Cache any the response of any asynchronous function (usually external api requests) for a fast and snappy user experience.

The repo is made of three packages:

  • The base package, Cached Query, has no flutter dependencies and can therefore be used in any dart project.
  • Cached Query Flutter adds some useful flutter tools such as connectivity re-fetching and focus re-fetching.
  • Cached Storage is a persistent storage addon for flutter apps.

Categories

Dependencies

Dependency list 2 items

Source repository

Projects using this package