How panjaritehseen-ship-it/tiffintap works
TiffinTap is an Android-first, offline-first tiffin and spending ledger. Users record mess meals or direct spending, review history and reports, manage payments, and optionally sync or use reminders and a home-screen widget. The graph reflects README-documented capabilities and the sampled Android widget implementation; Flutter business-layer files are listed in the tree but their source was not sampled, so internal call relationships there are not asserted.
Main entry points: main.dart Ledger interface · QuickAddWidgetProvider.kt Quick-add widget · flutter_window.cpp Windows Flutter window · cloud_sync.dart Cloud sync and outbox
Components 21
Ledger app
- Ledger interface
lib/main.dart - Ledger models
lib/models.dart - Meal entries
lib/main.dart - Direct spending
lib/main.dart - Mess management
lib/main.dart - History and calendar
lib/main.dart - Payments
lib/main.dart - Monthly reports
lib/main.dart - Export and backup
lib/main.dart - Tracker settings
lib/main.dart
Local data
- SQLite store
lib/data/local_store.dart
Cloud sync
- Cloud sync and outbox
lib/data/cloud_sync.dart - Supabase service
supabase/migrations/001_tiffintap.sql
Platform features
- Reminder service
lib/data/reminder_service.dart - Quick-add widget
android/app/src/main/kotlin/com/tiffintap/tiffintap/QuickAddWidgetProvider.kt - Android Flutter host
android/app/src/main/kotlin/com/tiffintap/tiffintap/MainActivity.kt - Windows entry point
windows/runner/main.cpp - Windows Flutter window
windows/runner/flutter_window.cpp - Win32 window
windows/runner/win32_window.cpp - Windows plugins
windows/flutter/generated_plugin_registrant.h
Other components
- User
Connections 20
- User → Ledger interface: uses
README.md - Ledger interface → Meal entries: records meals
README.md - Ledger interface → Direct spending: records spending
README.md - Ledger interface → Mess management: manages messes
README.md - Ledger interface → History and calendar: reviews history
README.md - Ledger interface → Payments: tracks payments
README.md - Ledger interface → Monthly reports: views reports
README.md - Ledger interface → Export and backup: exports data
README.md - Ledger interface → Tracker settings: customizes tracking
README.md - Ledger interface → SQLite store: stores locally
README.md - Ledger interface → Ledger models: uses models
- Ledger interface → Cloud sync and outbox: requests sync
- Cloud sync and outbox → Supabase service: syncs records
README.md - Ledger interface → Reminder service: configures reminders
- User → Quick-add widget: quick-adds
README.md - Quick-add widget → Android Flutter host: opens app
android/app/src/main/kotlin/com/tiffintap/tiffintap/QuickAddWidgetProvider.kt - Quick-add widget → SQLite store: queues entry
- Windows entry point → Windows Flutter window: creates window
windows/runner/main.cpp - Windows Flutter window → Win32 window: inherits window
windows/runner/flutter_window.cpp - Windows Flutter window → Windows plugins: registers plugins
windows/runner/flutter_window.cpp