How radi8og/monthly-balance-enquiry-app works
MonoBal is a Flutter monthly balance and spending tracker. Users enter through the app’s authentication/security gates, then manage the current month: set a starting balance, add or edit categorized income and expenses, and view the recalculated balance. They can browse read-only archived months and category charts, manage recurring entries, and export or restore data. The README documents local persistence, authentication, and security responsibilities; most Dart implementation files were not sampled, so edges reflect documented behavior rather than inspected calls.
Main entry points: balance_home_page.dart Monthly Balance · storage_service.dart Local Storage · app.dart App & Auth Gate · auth_service.dart Cloud Authentication
Components 25
App Entry & Security
- Flutter Entry
lib/main.dart - App & Auth Gate
lib/app.dart - Login
lib/screens/login_screen.dart - Cloud Authentication
lib/services/auth_service.dart - App Lock
lib/screens/lock_screen.dart - Security Settings
lib/screens/security_settings_screen.dart - Security Service
lib/services/security_service.dart
Monthly Tracking
- Monthly Balance
lib/screens/balance_home_page.dart - Recurring Transactions
lib/screens/recurring_transactions_screen.dart
History & Insights
- Monthly Archive
lib/screens/archive_screen.dart - Archived Month
lib/screens/month_detail_screen.dart - Category Breakdown
lib/screens/category_breakdown_screen.dart
Data & Export Services
- Local Storage
lib/services/storage_service.dart - CSV Export
lib/services/csv_service.dart - Backup & Restore
lib/services/backup_service.dart
Domain & Presentation
- Transactions
lib/models/transaction.dart - Recurring Rule
lib/models/recurring_transaction.dart - Transaction Row
lib/widgets/transaction_tile.dart - Summary Card
lib/widgets/month_summary_card.dart - Category Utilities
lib/utils/category_utils.dart - Currency & Month Utils
lib/utils/currency_utils.dart
Other components
- User
- Firebase
- Native Biometrics
- Native Share Sheet
Connections 31
- User → Flutter Entry: launches
README.md - Flutter Entry → App & Auth Gate: launches
README.md - App & Auth Gate → Login: routes unauthenticated
README.md - Login → Cloud Authentication: authenticates
README.md - Cloud Authentication → Firebase: uses
README.md - App & Auth Gate → App Lock: gates access
README.md - App Lock → Security Service: checks identity
README.md - Security Settings → Security Service: configures
README.md - Security Service → Native Biometrics: prompts
README.md - User → Monthly Balance: tracks spending
README.md - Monthly Balance → Local Storage: loads and saves
README.md - Monthly Balance → Transactions: records
README.md - Monthly Balance → Transaction Row: shows transactions
README.md - Monthly Balance → Summary Card: shows balance
README.md - Monthly Balance → Category Utilities: uses categories
README.md - Monthly Balance → Currency & Month Utils: formats amounts
README.md - User → Monthly Archive: browses history
README.md - Monthly Archive → Archived Month: opens month
README.md - Monthly Archive → Summary Card: shows summaries
README.md - Archived Month → Category Breakdown: opens breakdown
README.md - Monthly Balance → Category Breakdown: opens breakdown
README.md - User → Recurring Transactions: manages rules
README.md - Recurring Transactions → Recurring Rule: creates rules
README.md - Recurring Transactions → Local Storage: persists rules
README.md - Monthly Balance → CSV Export: exports month
README.md - Archived Month → CSV Export: exports archive
README.md - CSV Export → Native Share Sheet: shares file
README.md - User → Backup & Restore: backs up or restores
README.md - Backup & Restore → Local Storage: reads and restores
README.md - Backup & Restore → Native Share Sheet: shares backup
README.md - Cloud Authentication → Local Storage: stores session preferences