query
一個異步狀態管理套件,可簡化資料擷取、快取和更新。
- 星標
- 32
- 分支
- 2
- 最近推送(UTC)
- 2026年7月14日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
Flutter Query
A Flutter package inspired by TanStack Query for powerful asynchronous state management. Built with Flutter Hooks.
Coming from TanStack Query? Check out the differences to get started quickly.
Why Flutter Query?
Working with server data is hard. You need caching, deduplication, background refetching, stale data handling, and more. Flutter Query handles all of this out of the box:
- Automatic caching with intelligent invalidation
- Request deduplication so multiple widgets share a single network request
- Background updates to keep data fresh
- Stale-while-revalidate patterns for instant UI with fresh data
- Optimistic updates for responsive mutations
- Retry logic with exponential backoff
Documentation
Visit flutterquery.com for the full documentation, tutorials, and guides.
Platform Support
| Android | iOS | macOS | Web | Linux | Windows |
|---|---|---|---|---|---|
| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Requirements
- Flutter >=3.32.0
- Dart >=3.0.0 <4.0.0
Versioning
This project strictly follows Semantic Versioning. Given a version number
MAJOR.MINOR.PATCH:
- MAJOR version increments indicate breaking changes
- MINOR version increments add functionality in a backward-compatible manner
- PATCH version increments include backward-compatible bug fixes
Before version 1.0.0, MINOR version increments may include breaking changes.
Support
If you find Flutter Query useful, consider giving it a ⭐ to help others discover it!
分類
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗