How janufniarz/money works
Main components
• Flutter UI Layer
– Views (screens): e.g. Home, AllEntries, AllAccounts, Budgets, AddEntry, AddAccount, AddBudget, AccountView
– Widgets (reusable UI): BalanceCard, EntryCard, BudgetCard, GraphCircular, GraphLinear, DatePicker, MyScaffold
– Navigation: NavDirector (routes & page orchestration)
– Invoker (PlatformChannel interface)
• Android Native Layer
– MethodChannel handler in MainActivity (entry point for platform calls)
– Converter & Storable interfaces (data marshalling)
– Room entities: Account, Entry, Budget
– DAOs: AccountDao, EntryDao, BudgetDao
– Room Databases: AccountDatabase, EntryDatabase, BudgetDatabase
• Local Persistence
– SQLite (via Android Room)
• External Services
– None in current scope (all data is local)
Architectural patterns
• Layered architecture: Presentation (Flutter UI) → Platform Integration (PlatformChannel) → Data (Room)
• Repository-style separation: Invoker abstracts data access from UI
• MVU/MVC–style in Flutter: Views + Widgets separate from business logic
• Android Room for ORM pattern
Technologies and frameworks
• Dart & Flutter (UI toolkit)
• Material Design (widgets & theming)
• MethodChannel (Flutter ↔ Native bridge)
• Android Room (SQLite ORM)
• Java (Native handlers, DAOs, Entities)