Edmir Soares
Edmir Soares

[OFFLINE_06] · Built for a real farmer · screens in progress

Farm Operations Manager

Offline-first farm management app with unit-tested use cases.

  • Flutter
  • Drift
  • BLoC
Source code on GitHub (opens in a new tab)

[01] Problem

A farmer needs stock, products and credit simulations in the field, where 4G/5G is unstable or missing.

[02] Solution

  • Offline-first: all data in SQLite through Drift, with compile-time checked queries and migrations.
  • Stock by batch and location, expiry tracking, low-stock and expiring-soon filters.
  • Agricultural credit simulator with compound interest and saved history; money handled with the decimal package.
  • Clean Architecture with Cubit/BLoC and get_it.

[03] Result

  • 25 unit tests covering category and product use cases.
  • Offline data layer finished; screens and design system are the current phase.

[04] Architecture

  1. Flutter UI
  2. Cubit
  3. Use cases
  4. Repository
  5. Drift · SQLite