# awan-maknojia/flutter-project architecture

> Architecture diagram of the GitHub repository awan-maknojia/flutter-project, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/awan-maknojia/flutter-project
- Repository: https://github.com/awan-maknojia/flutter-project

## Overview

The tree identifies a Flutter business-management app with CRM, product and sales, payment, and staff-leave areas. The README only describes a starter project, and no Dart application source was excerpted, so the feature nodes below are based on paths and names; their runtime connections are not asserted. The shown native entry points establish how desktop runners launch or host Flutter, but do not reveal the Dart-side workflow.

Main entry points: [`windows/runner/flutter_window.h`](https://github.com/awan-maknojia/flutter-project/blob/main/windows/runner/flutter_window.h) (Windows Flutter host), [`lib/main.dart`](https://github.com/awan-maknojia/flutter-project/blob/main/lib/main.dart) (Flutter app), [`windows/runner/main.cpp`](https://github.com/awan-maknojia/flutter-project/blob/main/windows/runner/main.cpp) (Windows entry), [`linux/runner/main.cc`](https://github.com/awan-maknojia/flutter-project/blob/main/linux/runner/main.cc) (Linux entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_platform["Platform runners"]
  node_windows_entry["Windows entry<br/>[main.cpp]"]
  node_windows_flutter["Windows Flutter host<br/>[flutter_window.h]"]
  node_linux_entry["Linux entry<br/>[main.cc]"]
  node_linux_app["Linux application<br/>[my_application.h]"]
end

subgraph group_crm["CRM"]
  node_customers["Customer management"]
  node_leads["Lead management"]
  node_franchises["Franchise management"]
end

subgraph group_commerce["Sales and payments"]
  node_products["Product catalog"]
  node_cart["Cart<br/>[cart_screen.dart]"]
  node_quotations["Quotations"]
  node_orders["Sales orders"]
  node_payments["Payment entry"]
  node_transactions["Transactions"]
  node_verification["Payment verification"]
end

subgraph group_operations["Operations and app services"]
  node_app["Flutter app<br/>[main.dart]"]
  node_dashboard["Dashboard"]
  node_leave["Leave applications"]
  node_materials["Material requests"]
  node_api["API service<br/>[api_service.dart]"]
end

node_user(("App user"))

node_user -.->|"uses"| node_app
node_windows_entry -->|"creates"| node_windows_flutter
node_windows_flutter -.->|"hosts Flutter"| node_app
node_linux_entry -->|"runs"| node_linux_app

click node_windows_entry "https://github.com/awan-maknojia/flutter-project/blob/main/windows/runner/main.cpp"
click node_windows_flutter "https://github.com/awan-maknojia/flutter-project/blob/main/windows/runner/flutter_window.h"
click node_linux_entry "https://github.com/awan-maknojia/flutter-project/blob/main/linux/runner/main.cc"
click node_linux_app "https://github.com/awan-maknojia/flutter-project/blob/main/linux/runner/my_application.h"
click node_app "https://github.com/awan-maknojia/flutter-project/blob/main/lib/main.dart"
click node_dashboard "https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/dashboard_screen.dart"
click node_customers "https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/customer/customer_list_screen.dart"
click node_leads "https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/lead/lead_list_screen.dart"
click node_franchises "https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/franchise/franchise_list_screen.dart"
click node_products "https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/product/product_list_screen.dart"
click node_cart "https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/product/cart_screen.dart"
click node_quotations "https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/quotation/quotation_list_screen.dart"
click node_orders "https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/sales_order/sales_order_list_screen.dart"
click node_payments "https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/payment/payment_entry_screen.dart"
click node_transactions "https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/transaction/transaction_list_screen.dart"
click node_verification "https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/payment_verification/payment_verification_list_screen.dart"
click node_leave "https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/leave/leave_application_list_screen.dart"
click node_materials "https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/material_request/material_request_list_screen.dart"
click node_api "https://github.com/awan-maknojia/flutter-project/blob/main/lib/services/api_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_windows_entry,node_windows_flutter,node_linux_entry,node_linux_app,node_user toneBlue
class node_customers,node_leads,node_franchises toneAmber
class node_products,node_cart,node_quotations,node_orders,node_payments,node_transactions,node_verification toneMint
class node_app,node_dashboard,node_leave,node_materials,node_api toneRose
```

## Components

### Platform runners

- [Windows entry](https://github.com/awan-maknojia/flutter-project/blob/main/windows/runner/main.cpp): `windows/runner/main.cpp`
- [Windows Flutter host](https://github.com/awan-maknojia/flutter-project/blob/main/windows/runner/flutter_window.h): `windows/runner/flutter_window.h`
- [Linux entry](https://github.com/awan-maknojia/flutter-project/blob/main/linux/runner/main.cc): `linux/runner/main.cc`
- [Linux application](https://github.com/awan-maknojia/flutter-project/blob/main/linux/runner/my_application.h): `linux/runner/my_application.h`

### CRM

- [Customer management](https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/customer/customer_list_screen.dart): `lib/screens/customer/customer_list_screen.dart`
- [Lead management](https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/lead/lead_list_screen.dart): `lib/screens/lead/lead_list_screen.dart`
- [Franchise management](https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/franchise/franchise_list_screen.dart): `lib/screens/franchise/franchise_list_screen.dart`

### Sales and payments

- [Product catalog](https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/product/product_list_screen.dart): `lib/screens/product/product_list_screen.dart`
- [Cart](https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/product/cart_screen.dart): `lib/screens/product/cart_screen.dart`
- [Quotations](https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/quotation/quotation_list_screen.dart): `lib/screens/quotation/quotation_list_screen.dart`
- [Sales orders](https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/sales_order/sales_order_list_screen.dart): `lib/screens/sales_order/sales_order_list_screen.dart`
- [Payment entry](https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/payment/payment_entry_screen.dart): `lib/screens/payment/payment_entry_screen.dart`
- [Transactions](https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/transaction/transaction_list_screen.dart): `lib/screens/transaction/transaction_list_screen.dart`
- [Payment verification](https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/payment_verification/payment_verification_list_screen.dart): `lib/screens/payment_verification/payment_verification_list_screen.dart`

### Operations and app services

- [Flutter app](https://github.com/awan-maknojia/flutter-project/blob/main/lib/main.dart): `lib/main.dart`
- [Dashboard](https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/dashboard_screen.dart): `lib/screens/dashboard_screen.dart`
- [Leave applications](https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/leave/leave_application_list_screen.dart): `lib/screens/leave/leave_application_list_screen.dart`
- [Material requests](https://github.com/awan-maknojia/flutter-project/blob/main/lib/screens/material_request/material_request_list_screen.dart): `lib/screens/material_request/material_request_list_screen.dart`
- [API service](https://github.com/awan-maknojia/flutter-project/blob/main/lib/services/api_service.dart): `lib/services/api_service.dart`

### Other components

- **App user**

## Connections

- App user → Flutter app: uses
- Windows entry → Windows Flutter host: creates (evidence: `windows/runner/main.cpp`)
- Windows Flutter host → Flutter app: hosts Flutter
- Linux entry → Linux application: runs (evidence: `linux/runner/main.cc`)
