How flow-mn/flow works
Main Components
a. Frontend Layer:
• UI Components (lib/widgets/)
• Routes/Pages (lib/routes/)
• Theme System (lib/theme/)
• Localization (lib/l10n/)
b. Data Layer:
• Entity Models (lib/entity/)
• Data Models (lib/data/)
• ObjectBox Database (lib/objectbox/)
• Preferences Management (lib/prefs/)
c. Business Logic Layer:
• Services (lib/services/)
• Sync Management (lib/sync/)
• Utils (lib/utils/)
d. Platform-Specific Implementations:
• Android (android/)
• iOS (ios/)
• macOS (macos/)
• Linux (linux/)
• Windows (windows/)
┌─────────────────────────────────────────────────────────────┐
• Presentation Layer │
• ┬─────────────┬────────────────┬───────────────┤
• Widgets │ Routes │ Theme │ Localization │
• ┬───────┴─────┬───────┴────────┬───────┴───────┬───────┘
┌─────▼─────────────▼────────────────▼──────────────▼───────┐
• Business Logic Layer │
• ┬────────────┬─────────────────┬───────────────┤
• Services │ Sync │ Utils │ Constants │
• ┬──────┴─────┬─────┴────────┬────────┴───────┬───────┘
┌─────▼────────────▼──────────────▼────────────────▼───────┐
• Data Layer │
• ┬────────────┬─────────────────┬─────────────┤
• Entities │ObjectBox DB│ Preferences │ Data Models │
• ┴────────────┴─────────────────┴─────────────┘
Important Relationships
• Database interactions (ObjectBox)
• Platform-specific implementations
• Sync/Export/Import flows
• Currency and transaction management flows
Additional Elements
• Notes about cross-platform compatibility
• Integration points with external services
• Data flow direction indicators
• Sync/backup paths
Implementation Details to Highlight
• ObjectBox database integration
• Multi-currency support system
• Export/Import functionality
• Account management system
• Category management system
• Transaction tracking system