# haiderabbas0080/sewsmart_mobile architecture

> Architecture diagram of the GitHub repository haiderabbas0080/sewsmart_mobile, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/haiderabbas0080/sewsmart_mobile
- Repository: https://github.com/haiderabbas0080/sewsmart_mobile

## Overview

The tree shows a Flutter marketplace app for customers, tailors and riders, plus a separate admin app. The README is only Flutter boilerplate, and no Dart implementation was sampled, so feature nodes reflect the tree; internal calls and workflow wiring are not inferred. Native Android and iOS entry points host Flutter, but their connection to Dart screens is not shown in the excerpts.

Main entry points: [`lib/main.dart`](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/main.dart) (Mobile entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_mobile["Marketplace app"]
  node_mobile_entry["Mobile entry<br/>[main.dart]"]
  node_router["App navigation<br/>[app_router.dart]"]
  node_auth["Authentication<br/>[login_screen.dart]"]
  node_auth_service["Auth service<br/>[auth_service.dart]"]
end

subgraph group_customer["Customer features"]
  node_customer_service["Customer service"]
  node_discovery["Tailor discovery"]
  node_design["Design and try-on"]
  node_measure["Measurements"]
  node_order["Place orders"]
  node_payment["Customer payments"]
  node_tracking["Order tracking"]
end

subgraph group_partners["Tailor and rider features"]
  node_tailor_ops["Tailor operations"]
  node_tailor_service["Tailor service"]
  node_rider_ops["Rider delivery"]
  node_rider_service["Rider service<br/>[rider_service.dart]"]
end

subgraph group_admin["Admin app"]
  node_admin_entry["Admin entry<br/>[main.dart]"]
  node_admin_orders["Order management<br/>[orders_screen.dart]"]
  node_admin_users["User management"]
  node_admin_payments["Payment management"]
  node_admin_disputes["Disputes"]
end

node_customer_actor(("Marketplace user"))

node_customer_actor -->|"opens app"| node_mobile_entry

click node_mobile_entry "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/main.dart"
click node_router "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/navigation/app_router.dart"
click node_auth "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/auth/screens/login_screen.dart"
click node_auth_service "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/core/services/auth_service.dart"
click node_customer_service "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/customer/services/customer_service.dart"
click node_discovery "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/customer/screens/browse_tailors_screen.dart"
click node_design "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/customer/screens/ai_design_screen.dart"
click node_measure "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/customer/screens/measure_screen.dart"
click node_order "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/customer/screens/place_order_screen.dart"
click node_payment "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/customer/screens/payment_screen.dart"
click node_tracking "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/customer/screens/order_tracking_screen.dart"
click node_tailor_ops "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/tailor/screens/incoming_orders_screen.dart"
click node_tailor_service "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/tailor/services/tailor_service.dart"
click node_rider_ops "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/rider/screens/rider_dashboard_screen.dart"
click node_rider_service "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/rider/services/rider_service.dart"
click node_admin_entry "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/sewsmart_admin/lib/main.dart"
click node_admin_orders "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/sewsmart_admin/lib/modules/orders/orders_screen.dart"
click node_admin_users "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/sewsmart_admin/lib/modules/users/customers_screen.dart"
click node_admin_payments "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/sewsmart_admin/lib/modules/payments/payments_screen.dart"
click node_admin_disputes "https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/sewsmart_admin/lib/modules/disputes/disputes_screen.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_mobile_entry,node_router,node_auth,node_auth_service,node_customer_actor toneBlue
class node_customer_service,node_discovery,node_design,node_measure,node_order,node_payment,node_tracking toneAmber
class node_tailor_ops,node_tailor_service,node_rider_ops,node_rider_service toneMint
class node_admin_entry,node_admin_orders,node_admin_users,node_admin_payments,node_admin_disputes toneRose
```

## Components

### Marketplace app

- [Mobile entry](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/main.dart): `lib/main.dart`
- [App navigation](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/navigation/app_router.dart): `lib/navigation/app_router.dart`
- [Authentication](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/auth/screens/login_screen.dart): `lib/modules/auth/screens/login_screen.dart`
- [Auth service](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/core/services/auth_service.dart): `lib/core/services/auth_service.dart`

### Customer features

- [Customer service](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/customer/services/customer_service.dart): `lib/modules/customer/services/customer_service.dart`
- [Tailor discovery](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/customer/screens/browse_tailors_screen.dart): `lib/modules/customer/screens/browse_tailors_screen.dart`
- [Design and try-on](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/customer/screens/ai_design_screen.dart): `lib/modules/customer/screens/ai_design_screen.dart`
- [Measurements](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/customer/screens/measure_screen.dart): `lib/modules/customer/screens/measure_screen.dart`
- [Place orders](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/customer/screens/place_order_screen.dart): `lib/modules/customer/screens/place_order_screen.dart`
- [Customer payments](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/customer/screens/payment_screen.dart): `lib/modules/customer/screens/payment_screen.dart`
- [Order tracking](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/customer/screens/order_tracking_screen.dart): `lib/modules/customer/screens/order_tracking_screen.dart`

### Tailor and rider features

- [Tailor operations](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/tailor/screens/incoming_orders_screen.dart): `lib/modules/tailor/screens/incoming_orders_screen.dart`
- [Tailor service](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/tailor/services/tailor_service.dart): `lib/modules/tailor/services/tailor_service.dart`
- [Rider delivery](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/rider/screens/rider_dashboard_screen.dart): `lib/modules/rider/screens/rider_dashboard_screen.dart`
- [Rider service](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/lib/modules/rider/services/rider_service.dart): `lib/modules/rider/services/rider_service.dart`

### Admin app

- [Admin entry](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/sewsmart_admin/lib/main.dart): `sewsmart_admin/lib/main.dart`
- [Order management](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/sewsmart_admin/lib/modules/orders/orders_screen.dart): `sewsmart_admin/lib/modules/orders/orders_screen.dart`
- [User management](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/sewsmart_admin/lib/modules/users/customers_screen.dart): `sewsmart_admin/lib/modules/users/customers_screen.dart`
- [Payment management](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/sewsmart_admin/lib/modules/payments/payments_screen.dart): `sewsmart_admin/lib/modules/payments/payments_screen.dart`
- [Disputes](https://github.com/haiderabbas0080/sewsmart_mobile/blob/main/sewsmart_admin/lib/modules/disputes/disputes_screen.dart): `sewsmart_admin/lib/modules/disputes/disputes_screen.dart`

### Other components

- **Marketplace user**

## Connections

- Marketplace user → Mobile entry: opens app
