Skip to content

Fasq

Resilient async state management for Flutter. Caching-first queries, background refetching, optimistic mutations, hardware-backed security, and zero-boilerplate serialization.
Terminal window
flutter pub add fasq
dependencies:
fasq: ^0.4.2+2
Package first

Fasq is a Flutter package ecosystem for async server state, not a standalone app shell.

Overview

Package Snapshot

A quick read of what Fasq ships today and where it fits.

Package

fasq

Current pub.dev

0.4.2+2

License

MIT

Platforms

Mobile + desktop

Why Fasq Exists

Server state should stay predictable under real pressure.

Fasq handles fetching, caching, synchronizing, and mutation workflows with APIs that stay natural for Flutter teams.

Cache

Stale-while-refetch

Network

Request deduping

Mutations

Optimistic + offline queue

Type safety

Typed query keys

Workflow

Operational patterns teams can adopt in production.

Cache-first UI without stale lies

Show cached data instantly, refetch in the background, and recover from failed requests without wiring custom state machines on every page.

Mutations that survive real networks

Update the UI immediately, roll back on failures, queue changes offline, and replay cleanly when connectivity returns.

Security and persistence as packages

Use the Fasq security layer for encrypted cache entries and persistence workflows for sensitive application data.

Serialization without hand wiring

Generate serializers for typed query keys so cached models survive app restarts without repetitive converter code.

Adapters

Bring Fasq into your preferred architecture style.

Core widgets

`QueryBuilder`, `MutationBuilder`, query clients, caching options, retries, invalidation, and infinite queries.

Hooks

`fasq_hooks` gives Flutter Hooks users direct `useQuery` and `useMutation` primitives.

Bloc

`fasq_bloc` wraps async query and mutation lifecycles in Cubits for teams already using `flutter_bloc`.

Riverpod

`fasq_riverpod` exposes query and mutation providers for Riverpod-first application architecture.

Next

Continue Reading

Go deeper by package, adapter, or practical examples.