Skip to content
← PortfolioPublic on GitHubFlutter · offline-first

LogSuite · Case study Seven offline-first modules on one SQLite database.

An offline-first Flutter app with tasks, notes, habits, medicine, expenses, a focus timer and the Drop inbox. Every module reads one local SQLite database through Drift and can be switched off.

●English · Bangla · Banglish✓392 tests passingDrift tables 22
My commits102
AI-paired76
Tests392
Modules7
My role
Developer and architect, with Claude Code as pair
Team
1 developer, 1 repository
Timeline
About 19 weeks, in three bursts
Stack
Flutter, Dart, Drift, Riverpod, go_router, forui
01 — Timeline

102 commits, three bursts.

Pick a week to see what shipped.

Week 11 · 53 commitsExpenses and loans, the AI voice assistant, keychain storage, the how-to guides, the WAV loops and restore.
02 — Platform

Seven modules, one database beneath them.

  • Offline-first, no account
  • Every module can be switched off
  • Bangladesh locale first
  • The user’s own AI key
  • No dead buttons
Modules · forui screensgo_router nested shellsCurvedNavBar · Quick AddSeven switchable modulestasks · notes · habits · drop …Shared widget kitBrandScaffold · TintCardwatchRiverpod · state and logicRiverpod providersAsyncNotifier · StreamProviderAI command executor4 providers · offline parserEditor sheetssame repository methodswriteOn the device · no serverDrift · SQLite22 tables, one databasePlatform keychainAI keys · secure storageJSON backupall-or-nothing restore
Modules: Screens sit on go_router nested shells and a shared widget kit built over forui. A module switched off in Settings leaves the navigation and the dashboard.
03 — Key decisions

Four calls that shaped the app.

The design system

Off Material, onto forui in six phases

The first build still used Material 3 buttons, inputs, tabs and dialogs. Every screen moved onto forui primitives in six phases, with a pinned radius ramp and Hugeicons in every icon slot.

forui · Hugeicons · BrandTokens
forui migration
Phase 1Pin forui, drive FThemeData from BrandTokensPhase 2Rebuild the shared widgets and CurvedNavBar on foruiPhase 3Settings, onboarding and the app shellPhase 4Tasks, Habits and Medicine off MaterialPhase 5Expenses, Notes and Focus off MaterialPhase 6Dashboard, chrome and the lock gate, verified✓ every screen on forui, audit written up
Money

People, loans and month budgets

Household money rarely belongs to one person, so expenses gained a People table, month-scoped budgets and a loan ledger. Editing a transaction reverses its old balance change and applies the new one in a single Drift transaction.

People · Budgets · Loans
KindRecordsOn the balances
ExpenseSpending, for a personOut of the account; counted as spend
IncomeSalary, freelance or a refundInto the account; counted as income
TransferCash, bKash, Nagad or BankBoth accounts; not spend or income
LendMoney lent to a personOut of the account; not spend
BorrowMoney borrowed from a personInto the account; tracked as owed
RepaymentPart or all of a loanSettles the loan at zero
Voice and scan

One sentence, three previewed drafts

One spoken sentence can become an expense, a task with a reminder and a medicine course. Speech and OCR run on the device, the user’s own key picks Claude, OpenAI, Gemini or DeepSeek, and nothing is saved until the drafts are confirmed.

Speech · OCR · 4 providers
01Speak or scanspeech and ML Kit OCR, on the device02Add the user’s namescategories, accounts, people, habits03Parse into actionsClaude · OpenAI · Gemini · DeepSeek · offline04Preview the draftsa card each, tap one to adjust it05Save allsame repository methods as typed entries
The seventh module

An inbox for things not yet sorted

Drop captures links, videos, photos and rough thoughts before the user decides where they belong. Triage turns them into notes or tasks, and earns XP and streaks on the way to Inbox Zero.

Share sheet · # tags · gamification
drop
CaptureLinks, videos, photos, text, from the share sheetPreviewOpenGraph and YouTube cards, on-device OCRTagType # for fuzzy tag suggestionsTriagePin, bulk-select, remind later, summariseEscalateInto a note or task, prefilledRewardXP, daily streaks, badges, haptics✓ Inbox Zero
04 — Guardrails

392 tests, and the details nobody sees.

Pick a guardrail to see what it checks.

392Tests passing, in 46 files

Restore guard: A test asserts that RestoreService covers every table declared on AppDatabase, so a new table can’t be wiped and left empty on restore.

Tests counted by running flutter test locally: 392 passing in 46 files under test/, beside a native integration suite.

05 — Screens

Every module, on one phone.

Onboarding, the assistant, tasks, medicine, habits, expenses, focus, notes and insights.

06 — Behind the build

One developer, Claude Code as pair.

76 / 102commits carry a Claude co-author trailer. We agreed the table shapes and commit order first, then landed small commits checked by tests.
With Claude Code (76)Other commits (26)
I directed

The module scope and coral visual direction, the forui migration plan, the expense rules, the on-device privacy boundary and the Drop spec.

Claude drafted

Drift tables and migrations, the screen-by-screen forui swaps, the four AI adapters, the WAV synthesiser and 46 test files.

A Bangladesh locale first

৳ currency, Bangla numerals, seeded Cash, bKash, Nagad and Bank accounts, and voice parsing in English, Bangla and Banglish. With no AI key, an offline parser splits a sentence on and, then, ar and ebong.

Click-free ambient sounds

Six WAV loops (rain, ocean, forest, cafe, white and brown noise) built in the frequency domain with random phase. Every buffer is periodic, so it loops without the click that MP3 and AAC padding adds.

All-or-nothing restore

The JSON restore parses and validates the whole backup before it opens a database transaction. It defers foreign keys for nested folders and decodes profile photos back to the device.

Spacing and iOS motion

Shared spacing tokens, bottom clearance worked out from the bar height plus the safe area, Cupertino swipe-back transitions and rubber-band overscroll.

Where it stands

Version 0.0.2, with native targets set up for Android, iOS, macOS, Linux and Windows, and a PIN and biometric lock for single modules or the whole app.

FlutterDartDriftSQLiteRiverpodgo_routerforuiHugeiconsML KitClaude Code

Non-merge commits on the main branch. Commits made in my Claude Code sessions count as mine, including eleven with Claude as the git author. Commit counts measure activity, not effort.

Lets work together

Need a successful project?

I’m available for freelance work.

Hire/Contact Me Now