Menu

Building an offline-first Flutter ledger for shops: what "no internet" really costs
📰

Building an offline-first Flutter ledger for shops: what "no internet" really costs

DEV Community: flutter·Bazaar Ledger·15 days ago
#QJlIocFt
#devtoflutter#devto#dev#ledger#shop
Long article (267 words) — no AI summary yet.
Reading 0:00
15s threshold

I built Bazaar Ledger, a shop bookkeeping app for Android with a Windows companion, and I want to share what offline-first did to the design.

The rule. Every bill, payment and stock movement is written to the phone first. The network is optional, so there is no loading spinner between a customer and a receipt.

The ledger underneath. Billing screens are friendly, but every sale, payment, purchase and expense posts to double-entry accounts. That is why the 100+ reports agree with each other: they are different views of one ledger.

A server that cannot read. If a shop turns on the optional cloud, the books are sealed on the phone before upload, with keys the server never receives. The cost is real: the server cannot search, repair or analyse a shop's data, so every feature that needs reading has to be opt-in and done on the device.

Posted bills are never edited in place. A correction is a cancelled bill plus a new corrected one, both kept, behind a PIN.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.