~/talk

Simpler state management with Dart on the server and synced databases

Talkat Fluttercon Europe 2025 · 2025-09-24..09-26· [flutter, databases]
links:none on file
slides:none on file

Argues that SQLite + Drift lets identical typed database code run on client and server, shows Postgres support and a Shelf backend using generated Drift queries, and demonstrates a PowerSync-based sync engine that listens to DB change streams, authenticates with JWTs, and applies local session change-sets (SQLite session extension produces compact patches) to keep devices consistent while preserving transactions and retrying uploads for offline writes. Claims this removes custom cache logic and makes cross-device state behave like local-only state.

AI-written summary · about

  1. 0:00Dart state management intro
  2. 1:23SQLite for local data
  3. 10:09Choosing SQLite packages
  4. 11:55Setting up Drift
  5. 13:59SQLite in Flutter apps
  6. 16:05SQLite on server with Dart
  7. 17:51Drift for PostgreSQL
  8. 20:59Client-server database sync
  9. 22:23Manual sync challenges
  10. 27:12Automating sync engines
  11. 27:55Live sync demo
  12. 35:43Key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.