flutterflow_cloud 0.2.0
flutterflow_cloud: ^0.2.0 copied to clipboard
The FlutterFlow Cloud SDK for Flutter — typed database records and queries, end-user auth with self-contained persistent sessions, file storage with progress and URL caching, and a fast built-in proje [...]
Changelog #
0.2.0 #
The client SDK, rebuilt as a Flutter package. Replaces ffx_client 0.1.0
(package renamed; hard break, pre-release).
FlutterFlowCloud.initialize/FlutterFlowCloud.instancereplaceFFXApp; connection settings live inFFXOptions(typically generated).- Self-contained persistent sessions on Android, iOS, macOS, Windows,
Linux, and web — no plugins. Sessions restore at initialize with
auth.currentUserhydrated from the stored snapshot and a background reconcile;authStateChanges()is aStream<FFXUser?>whose first event is the real current state. - Built-in opt-in query cache (
FFXFetchPolicy: networkOnly/networkFirst/cacheFirst/cacheOnly) with honestFFXQueryMetadata; the fictionalisFromCache: false/hasPendingWrites/ client-clockserverTimefields are gone. FFXApiError.userMessage: human-safe copy for every failure.- Storage:
uploadreturns an awaitableFFXUploadTaskwith progress, cancellation, and in-place transfer retry;getDownloadUrlcaches and single-flights signed URLs;getFile/updateFile/deleteFilecover the file record surface;FFXImagerenders private files by id. - Database:
query()parameters optional;pages()/records()cursor-following streams;aggregate()returns a typedFFXAggregateResult;batch()is the single typed batch API. FFXSignOutScopeenum replaces the stringly-typed sign-out scope;FFXGeoPointvalue type added.- Built-in generator:
dart run flutterflow_cloud:generateemits typed models/collections/queries/options from.ffx/project.json— fast, deterministic, formatted, no build_runner.