# anisulislam10/theka-online-app architecture

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

- Interactive diagram: https://gitdiagram.com/anisulislam10/theka-online-app
- Repository: https://github.com/anisulislam10/theka-online-app

## Overview

The tree describes a Flutter app for customer and service-provider workflows, including authentication, service discovery, requests, provider order handling, profiles, notifications, and a store. The README is only a Flutter starter template, and the sampled source does not include Dart runtime code; therefore, the graph reflects the product structure suggested by module names and avoids asserting unverified calls or backend wiring.

Main entry points: [`lib/views/CustomerHome/widgets/home_page.dart`](https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/CustomerHome/widgets/home_page.dart) (Service discovery), [`lib/main.dart`](https://github.com/anisulislam10/theka-online-app/blob/main/lib/main.dart) (Flutter entry), [`lib/views/Auth/CustomerLogin/customer_login_controller.dart`](https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/Auth/CustomerLogin/customer_login_controller.dart) (Customer sign-in), [`lib/views/Auth/ServiceProviderLogin`](https://github.com/anisulislam10/theka-online-app/tree/main/lib/views/Auth/ServiceProviderLogin) (Provider sign-in)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["App entry"]
  node_app["Flutter entry<br/>[main.dart]"]
  node_splash["Startup screens"]
end

subgraph group_identity["Identity"]
  node_auth["Authentication service<br/>[auth_service.dart]"]
  node_customer_auth["Customer sign-in"]
  node_customer_register["Customer registration"]
  node_provider_auth["Provider sign-in"]
  node_provider_register["Provider registration"]
  node_verification["Account verification"]
end

subgraph group_customer["Customer services"]
  node_home["Service discovery<br/>[home_page.dart]"]
  node_maps["Map and location"]
  node_services["Service browsing"]
  node_request["Customer requests"]
end

subgraph group_provider["Provider operations"]
  node_orders["Provider order requests"]
  node_order_details["Order details"]
  node_complete["Request completion"]
  node_profile["Customer and provider profiles"]
  node_reviews["Reviews<br/>[reviews_page.dart]"]
end

subgraph group_shared["Shared capabilities"]
  node_store["Shopify store"]
  node_notifications["Notifications"]
  node_translation["Localization"]
  node_ad_model["Ad data model<br/>[ad_model.dart]"]
end

node_user(("Customer or provider"))

node_user -->|"opens"| node_app
node_app -->|"starts"| node_splash
node_user -->|"signs in"| node_customer_auth
node_user -->|"registers"| node_customer_register
node_user -->|"signs in"| node_provider_auth
node_user -->|"registers"| node_provider_register
node_customer_auth -->|"uses"| node_auth
node_provider_auth -->|"uses"| node_auth
node_user -->|"browses"| node_home
node_home -->|"uses location"| node_maps
node_home -->|"browses services"| node_services
node_user -->|"manages requests"| node_request
node_user -->|"handles requests"| node_orders
node_orders -->|"opens details"| node_order_details
node_user -->|"completes request"| node_complete
node_user -->|"manages profile"| node_profile
node_user -->|"views reviews"| node_reviews
node_user -->|"shops"| node_store

click node_app "https://github.com/anisulislam10/theka-online-app/blob/main/lib/main.dart"
click node_splash "https://github.com/anisulislam10/theka-online-app/tree/main/lib/views/Splash"
click node_auth "https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/Auth/AuthService/auth_service.dart"
click node_customer_auth "https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/Auth/CustomerLogin/customer_login_controller.dart"
click node_customer_register "https://github.com/anisulislam10/theka-online-app/tree/main/lib/views/Auth/Register/CustomerRegister"
click node_provider_auth "https://github.com/anisulislam10/theka-online-app/tree/main/lib/views/Auth/ServiceProviderLogin"
click node_provider_register "https://github.com/anisulislam10/theka-online-app/tree/main/lib/views/Auth/Register/ServiceProviderRegister"
click node_verification "https://github.com/anisulislam10/theka-online-app/tree/main/lib/views/Auth/AccountScreens"
click node_home "https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/CustomerHome/widgets/home_page.dart"
click node_maps "https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/CustomerHome/controllers/maps_controller.dart"
click node_services "https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/CustomerHome/controllers/services_controller.dart"
click node_request "https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/MyRequest/my_request_controller.dart"
click node_orders "https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/OrdersList/controller/order_request_controller.dart"
click node_order_details "https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/OrdersList/order_details_bottom_sheet.dart"
click node_complete "https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/CompleteRequests/complete_request_controller.dart"
click node_profile "https://github.com/anisulislam10/theka-online-app/tree/main/lib/views/Profile"
click node_reviews "https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/Profile/reviews_page.dart"
click node_store "https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/Store/shopify_store_page.dart"
click node_notifications "https://github.com/anisulislam10/theka-online-app/blob/main/lib/core/services/notification_service.dart"
click node_translation "https://github.com/anisulislam10/theka-online-app/blob/main/lib/core/services/translation_service.dart"
click node_ad_model "https://github.com/anisulislam10/theka-online-app/blob/main/lib/models/ad_model.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_splash toneBlue
class node_auth,node_customer_auth,node_customer_register,node_provider_auth,node_provider_register,node_verification toneAmber
class node_home,node_maps,node_services,node_request toneMint
class node_orders,node_order_details,node_complete,node_profile,node_reviews toneRose
class node_store,node_notifications,node_translation,node_ad_model,node_user toneIndigo
```

## Components

### App entry

- [Flutter entry](https://github.com/anisulislam10/theka-online-app/blob/main/lib/main.dart): `lib/main.dart`
- [Startup screens](https://github.com/anisulislam10/theka-online-app/tree/main/lib/views/Splash): `lib/views/Splash`

### Identity

- [Authentication service](https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/Auth/AuthService/auth_service.dart): `lib/views/Auth/AuthService/auth_service.dart`
- [Customer sign-in](https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/Auth/CustomerLogin/customer_login_controller.dart): `lib/views/Auth/CustomerLogin/customer_login_controller.dart`
- [Customer registration](https://github.com/anisulislam10/theka-online-app/tree/main/lib/views/Auth/Register/CustomerRegister): `lib/views/Auth/Register/CustomerRegister`
- [Provider sign-in](https://github.com/anisulislam10/theka-online-app/tree/main/lib/views/Auth/ServiceProviderLogin): `lib/views/Auth/ServiceProviderLogin`
- [Provider registration](https://github.com/anisulislam10/theka-online-app/tree/main/lib/views/Auth/Register/ServiceProviderRegister): `lib/views/Auth/Register/ServiceProviderRegister`
- [Account verification](https://github.com/anisulislam10/theka-online-app/tree/main/lib/views/Auth/AccountScreens): `lib/views/Auth/AccountScreens`

### Customer services

- [Service discovery](https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/CustomerHome/widgets/home_page.dart): `lib/views/CustomerHome/widgets/home_page.dart`
- [Map and location](https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/CustomerHome/controllers/maps_controller.dart): `lib/views/CustomerHome/controllers/maps_controller.dart`
- [Service browsing](https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/CustomerHome/controllers/services_controller.dart): `lib/views/CustomerHome/controllers/services_controller.dart`
- [Customer requests](https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/MyRequest/my_request_controller.dart): `lib/views/MyRequest/my_request_controller.dart`

### Provider operations

- [Provider order requests](https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/OrdersList/controller/order_request_controller.dart): `lib/views/OrdersList/controller/order_request_controller.dart`
- [Order details](https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/OrdersList/order_details_bottom_sheet.dart): `lib/views/OrdersList/order_details_bottom_sheet.dart`
- [Request completion](https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/CompleteRequests/complete_request_controller.dart): `lib/views/CompleteRequests/complete_request_controller.dart`
- [Customer and provider profiles](https://github.com/anisulislam10/theka-online-app/tree/main/lib/views/Profile): `lib/views/Profile`
- [Reviews](https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/Profile/reviews_page.dart): `lib/views/Profile/reviews_page.dart`

### Shared capabilities

- [Shopify store](https://github.com/anisulislam10/theka-online-app/blob/main/lib/views/Store/shopify_store_page.dart): `lib/views/Store/shopify_store_page.dart`
- [Notifications](https://github.com/anisulislam10/theka-online-app/blob/main/lib/core/services/notification_service.dart): `lib/core/services/notification_service.dart`
- [Localization](https://github.com/anisulislam10/theka-online-app/blob/main/lib/core/services/translation_service.dart): `lib/core/services/translation_service.dart`
- [Ad data model](https://github.com/anisulislam10/theka-online-app/blob/main/lib/models/ad_model.dart): `lib/models/ad_model.dart`

### Other components

- **Customer or provider**

## Connections

- Customer or provider → Flutter entry: opens
- Flutter entry → Startup screens: starts
- Customer or provider → Customer sign-in: signs in
- Customer or provider → Customer registration: registers
- Customer or provider → Provider sign-in: signs in
- Customer or provider → Provider registration: registers
- Customer sign-in → Authentication service: uses
- Provider sign-in → Authentication service: uses
- Customer or provider → Service discovery: browses
- Service discovery → Map and location: uses location
- Service discovery → Service browsing: browses services
- Customer or provider → Customer requests: manages requests
- Customer or provider → Provider order requests: handles requests
- Provider order requests → Order details: opens details
- Customer or provider → Request completion: completes request
- Customer or provider → Customer and provider profiles: manages profile
- Customer or provider → Reviews: views reviews
- Customer or provider → Shopify store: shops
