How metalha516/expenseguard- works
ExpenseGuard is a Flutter corporate expense-management app. The principal user flow is onboarding or login, opening the app shell, capturing a receipt, reviewing extracted expense details and policy feedback, then submitting it for manager approval. Separate branches cover cards, spend analytics, notifications, and profile settings. The README documents these capabilities and module boundaries; Dart implementation excerpts were not provided, so feature-to-provider and provider-to-repository call edges are omitted rather than inferred.
Main entry points: main_shell.dart Navigation Shell · submit_expense_screen.dart Expense Form · approvals_queue_screen.dart Approvals Queue · notifications_center_screen.dart Notifications Center
Components 28
App Shell
- App Entry
lib/main.dart - App Router
lib/core/router/app_router.dart - Navigation Shell
lib/features/home/presentation/main_shell.dart - Theme System
lib/core/theme/app_theme.dart - Home Dashboard
lib/features/home/presentation/home_screen.dart - Dashboard State
lib/features/home/providers/home_provider.dart
Expense Workflow
- Receipt Capture
lib/features/expenses/presentation/submit_expense_camera_screen.dart - Expense Form
lib/features/expenses/presentation/submit_expense_screen.dart - Expense Form State
lib/features/expenses/providers/expense_form_provider.dart - Policy Review
lib/features/expenses/presentation/policy_check_screen.dart - Expense Review
lib/features/expenses/presentation/expense_review_screen.dart - Transaction Details
lib/features/expenses/presentation/transaction_detail_screen.dart - Transaction State
lib/features/expenses/providers/transaction_details_provider.dart - Expense Repository
lib/core/repositories/expenses_repository.dart
Review and Approvals
- Approvals Queue
lib/features/approvals/presentation/approvals_queue_screen.dart - Approval State
lib/features/approvals/providers/approvals_provider.dart
Spending Tools
- Corporate Cards
lib/features/cards/presentation/corporate_cards_screen.dart - Cards State
lib/features/cards/providers/cards_provider.dart - Cards Repository
lib/core/repositories/cards_repository.dart - Spend Insights
lib/features/insights/presentation/spend_insights_screen.dart - Insights State
lib/features/insights/providers/insights_provider.dart
Account and Updates
- Onboarding
lib/features/onboarding/presentation/onboarding_screen.dart - Login
lib/features/auth/presentation/login_screen.dart - Notifications Center
lib/features/notifications/presentation/notifications_center_screen.dart - Notifications State
lib/features/notifications/providers/notifications_provider.dart - Notifications Repository
lib/core/repositories/notifications_repository.dart - Profile Settings
lib/features/profile/presentation/profile_settings_screen.dart
Other components
- Employee or Manager
Connections 28
- Employee or Manager → App Entry: opens
README.md - App Entry → App Router: starts navigation
README.md - App Router → Navigation Shell: routes to
README.md - Navigation Shell → Home Dashboard: shows
README.md - Navigation Shell → Approvals Queue: routes to
README.md - Navigation Shell → Receipt Capture: opens camera
README.md - Navigation Shell → Corporate Cards: routes to
README.md - Navigation Shell → Spend Insights: routes to
README.md - Navigation Shell → Profile Settings: routes to
README.md - Employee or Manager → Onboarding: starts setup
README.md - Employee or Manager → Login: signs in
README.md - Receipt Capture → Expense Form: captures receipt
README.md - Expense Form → Policy Review: previews policy
README.md - Expense Form → Expense Review: submits for review
README.md - Expense Review → Approvals Queue: enters queue
README.md - Approvals Queue → Transaction Details: opens details
README.md - Notifications Center → Transaction Details: deep-links to
README.md - Home Dashboard → Dashboard State: uses state
- Expense Form → Expense Form State: uses state
- Expense Form → Expense Repository: persists expense
- Approvals Queue → Approval State: uses state
- Corporate Cards → Cards State: uses state
- Corporate Cards → Cards Repository: accesses card data
- Spend Insights → Insights State: uses state
- Transaction Details → Transaction State: uses state
- Notifications Center → Notifications State: uses state
- Notifications Center → Notifications Repository: accesses updates
- App Entry → Theme System: configures appearance