Offline-First Flutter: how I made it sync-ready. A phone with a local Drift database, a dashed cloud for sync later, and uuid, updatedAt and deletedAt

Offline-First Flutter with Drift: How I Made It Sync-Ready

When I started Koshly, my first thought was to build a server. That’s how I always built apps. A Flutter app, an API, a database in the cloud and a login screen. You sign up once and your expenses are there on any phone you use. But I didn’t build Koshly that way. There is no server for your data and no login. Everything is saved in a database on your phone. And the more I worked on it, the more I felt this was the better choice. ...

November 30, 2026 · 5 min · 1049 words · Hitesh Patel