# suliemanomarameen-web/debt-voice-app architecture

> Architecture diagram of the GitHub repository suliemanomarameen-web/debt-voice-app, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/suliemanomarameen-web/debt-voice-app
- Repository: https://github.com/suliemanomarameen-web/debt-voice-app

## Overview

The tree identifies debt-voice-app as a Flutter app organized around screens, tabs, services, models, and a database helper. Its filenames suggest a workflow involving accounts, customers, transactions or debts, voice input, and record keeping, with backup, export, statistics, and integrations as additional capabilities. No source excerpts or README details document calls or data flow, so relationships between components are omitted rather than inferred. Paths and responsibilities below are based on filenames only.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["App experience"]
  node_app["App entry<br/>[main.dart]"]
  node_home["Home screen<br/>[home_screen.dart]"]
  node_tabs["Tab navigation<br/>[tabs_screen.dart]"]
  node_customers_ui["Customer screen"]
  node_voice_ui["Voice screen<br/>[voice_screen.dart]"]
  node_accounts_ui["Add account"]
  node_transactions_ui["Transactions tab"]
  node_debts_ui["Debts tab<br/>[debts_tab.dart]"]
  node_customers_tab["Customers tab<br/>[customers_tab.dart]"]
  node_settings_ui["Settings tab<br/>[settings_tab.dart]"]
end

subgraph group_records["Debt records"]
  node_customer_model["Customer model<br/>[customer.dart]"]
  node_transaction_model["Transaction model<br/>[transaction.dart]"]
  node_account_type["Account types<br/>[account_type.dart]"]
  node_database[("Local database")]
  node_logs["Log events<br/>[log_event.dart]"]
end

subgraph group_services["Application services"]
  node_parser["Input parser"]
  node_accounting["Accounting service"]
  node_query["Query service<br/>[query_service.dart]"]
  node_stats["Statistics service<br/>[stats_service.dart]"]
  node_export["Export service"]
  node_pdf["PDF service<br/>[pdf_service.dart]"]
  node_backup["Backup services"]
  node_auth["Authentication<br/>[auth_service.dart]"]
  node_logger["Logging service"]
  node_reminders["Reminders"]
end

subgraph group_integrations["External integrations"]
  node_cloud_backup["Cloud backup"]
  node_gdrive["Google Drive"]
  node_speech["Speech service"]
end

node_user(("User"))

click node_app "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/main.dart"
click node_home "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/screens/home_screen.dart"
click node_tabs "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/tabs/tabs_screen.dart"
click node_customers_ui "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/screens/customer_screen.dart"
click node_voice_ui "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/screens/voice_screen.dart"
click node_accounts_ui "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/screens/add_account_screen.dart"
click node_transactions_ui "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/tabs/transactions_tab.dart"
click node_debts_ui "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/tabs/debts_tab.dart"
click node_customers_tab "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/tabs/customers_tab.dart"
click node_settings_ui "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/tabs/settings_tab.dart"
click node_customer_model "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/models/customer.dart"
click node_transaction_model "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/models/transaction.dart"
click node_account_type "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/models/account_type.dart"
click node_database "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/db/database_helper.dart"
click node_parser "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/parser_service.dart"
click node_accounting "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/accountant_service.dart"
click node_query "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/query_service.dart"
click node_stats "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/stats_service.dart"
click node_export "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/export_service.dart"
click node_pdf "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/pdf_service.dart"
click node_backup "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/backup_service.dart"
click node_cloud_backup "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/cloud_backup_service.dart"
click node_gdrive "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/gdrive_service.dart"
click node_auth "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/auth_service.dart"
click node_speech "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/speech_service.dart"
click node_logs "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/models/log_event.dart"
click node_logger "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/logger_service.dart"
click node_reminders "https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/reminder_service.dart"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_home,node_tabs,node_customers_ui,node_voice_ui,node_accounts_ui,node_transactions_ui,node_debts_ui,node_customers_tab,node_settings_ui,node_user toneBlue
class node_customer_model,node_transaction_model,node_account_type,node_database,node_logs toneAmber
class node_parser,node_accounting,node_query,node_stats,node_export,node_pdf,node_backup,node_auth,node_logger,node_reminders toneMint
class node_cloud_backup,node_gdrive,node_speech toneRose
```

## Components

### App experience

- [App entry](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/main.dart): `lib/main.dart`
- [Home screen](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/screens/home_screen.dart): `lib/screens/home_screen.dart`
- [Tab navigation](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/tabs/tabs_screen.dart): `lib/tabs/tabs_screen.dart`
- [Customer screen](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/screens/customer_screen.dart): `lib/screens/customer_screen.dart`
- [Voice screen](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/screens/voice_screen.dart): `lib/screens/voice_screen.dart`
- [Add account](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/screens/add_account_screen.dart): `lib/screens/add_account_screen.dart`
- [Transactions tab](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/tabs/transactions_tab.dart): `lib/tabs/transactions_tab.dart`
- [Debts tab](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/tabs/debts_tab.dart): `lib/tabs/debts_tab.dart`
- [Customers tab](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/tabs/customers_tab.dart): `lib/tabs/customers_tab.dart`
- [Settings tab](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/tabs/settings_tab.dart): `lib/tabs/settings_tab.dart`

### Debt records

- [Customer model](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/models/customer.dart): `lib/models/customer.dart`
- [Transaction model](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/models/transaction.dart): `lib/models/transaction.dart`
- [Account types](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/models/account_type.dart): `lib/models/account_type.dart`
- [Local database](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/db/database_helper.dart): `lib/db/database_helper.dart`
- [Log events](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/models/log_event.dart): `lib/models/log_event.dart`

### Application services

- [Input parser](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/parser_service.dart): `lib/services/parser_service.dart`
- [Accounting service](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/accountant_service.dart): `lib/services/accountant_service.dart`
- [Query service](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/query_service.dart): `lib/services/query_service.dart`
- [Statistics service](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/stats_service.dart): `lib/services/stats_service.dart`
- [Export service](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/export_service.dart): `lib/services/export_service.dart`
- [PDF service](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/pdf_service.dart): `lib/services/pdf_service.dart`
- [Backup services](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/backup_service.dart): `lib/services/backup_service.dart`
- [Authentication](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/auth_service.dart): `lib/services/auth_service.dart`
- [Logging service](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/logger_service.dart): `lib/services/logger_service.dart`
- [Reminders](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/reminder_service.dart): `lib/services/reminder_service.dart`

### External integrations

- [Cloud backup](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/cloud_backup_service.dart): `lib/services/cloud_backup_service.dart`
- [Google Drive](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/gdrive_service.dart): `lib/services/gdrive_service.dart`
- [Speech service](https://github.com/suliemanomarameen-web/debt-voice-app/blob/main/lib/services/speech_service.dart): `lib/services/speech_service.dart`

### Other components

- **User**
