# tranxuanvy04/thoitrangshop architecture

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

- Interactive diagram: https://gitdiagram.com/tranxuanvy04/thoitrangshop
- Repository: https://github.com/tranxuanvy04/thoitrangshop

## Overview

The tree indicates a Flutter fashion-shopping app with browsing, favorites, cart and checkout, order tracking, and account/support screens. The README is only Flutter starter-project guidance, and the sampled source contains no app runtime code. The graph therefore maps the visible screen domains but leaves their wiring unverified; dashed edges indicate likely entry flow, not inspected calls.

Main entry points: [`lib/main.dart`](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/main.dart) (App Entry), [`lib/screens/main_page.dart`](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/main_page.dart) (Main Shell)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shopping["Shopping"]
  node_app["App Entry<br/>[main.dart]"]
  node_main_page["Main Shell<br/>[main_page.dart]"]
  node_home["Home<br/>[home_page.dart]"]
  node_search["Search<br/>[search_page.dart]"]
  node_product["Product Detail"]
  node_reviews["Product Reviews"]
  node_favorites["Favorites<br/>[favorite_page.dart]"]
  node_favorite_state["Favorite State"]
  node_favorite_control["Favorite Button"]
end

subgraph group_orders["Cart and Orders"]
  node_cart["Cart<br/>[cart_page.dart]"]
  node_checkout["Checkout<br/>[checkout_page.dart]"]
  node_success["Order Success"]
  node_orders_list["My Orders"]
  node_tracking["Order Tracking"]
end

subgraph group_account["Account"]
  node_login["Login<br/>[login_page.dart]"]
  node_profile["Profile<br/>[profile_page.dart]"]
  node_personal_info["Personal Info"]
  node_addresses["Shipping Address"]
  node_payments["Payment Methods"]
  node_settings["Settings<br/>[settings_page.dart]"]
end

subgraph group_engagement["Engagement"]
  node_notifications["Notifications"]
  node_chat["Support Chat"]
  node_support["Support<br/>[support_page.dart]"]
end

node_shopper(("Shopper"))

node_shopper -.->|"opens"| node_app
node_app -.->|"starts"| node_main_page

click node_app "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/main.dart"
click node_main_page "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/main_page.dart"
click node_home "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/home/home_page.dart"
click node_search "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/search/search_page.dart"
click node_product "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/product/product_detail_page.dart"
click node_reviews "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/product/product_review_page.dart"
click node_favorites "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/favorite/favorite_page.dart"
click node_favorite_state "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/providers/favorite_provider.dart"
click node_favorite_control "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/widgets/favorite_button.dart"
click node_cart "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/cart/cart_page.dart"
click node_checkout "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/pay/checkout_page.dart"
click node_success "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/pay/order_success_page.dart"
click node_orders_list "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/oder/my_orders_page.dart"
click node_tracking "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/oder/track_order_page.dart"
click node_login "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/login/login_page.dart"
click node_profile "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/profile/profile_page.dart"
click node_personal_info "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/profile/personal_info_page.dart"
click node_addresses "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/profile/shipping_address_page.dart"
click node_payments "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/profile/payment_methods_page.dart"
click node_settings "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/profile/settings_page.dart"
click node_notifications "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/notifications/notifications_page.dart"
click node_chat "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/chat/support_chat_page.dart"
click node_support "https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/profile/support_page.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_main_page,node_home,node_search,node_product,node_reviews,node_favorites,node_favorite_state,node_favorite_control toneBlue
class node_cart,node_checkout,node_success,node_orders_list,node_tracking toneAmber
class node_login,node_profile,node_personal_info,node_addresses,node_payments,node_settings toneMint
class node_notifications,node_chat,node_support toneRose
class node_shopper toneIndigo
```

## Components

### Shopping

- [App Entry](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/main.dart): `lib/main.dart`
- [Main Shell](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/main_page.dart): `lib/screens/main_page.dart`
- [Home](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/home/home_page.dart): `lib/screens/home/home_page.dart`
- [Search](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/search/search_page.dart): `lib/screens/search/search_page.dart`
- [Product Detail](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/product/product_detail_page.dart): `lib/screens/product/product_detail_page.dart`
- [Product Reviews](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/product/product_review_page.dart): `lib/screens/product/product_review_page.dart`
- [Favorites](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/favorite/favorite_page.dart): `lib/screens/favorite/favorite_page.dart`
- [Favorite State](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/providers/favorite_provider.dart): `lib/providers/favorite_provider.dart`
- [Favorite Button](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/widgets/favorite_button.dart): `lib/screens/widgets/favorite_button.dart`

### Cart and Orders

- [Cart](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/cart/cart_page.dart): `lib/screens/cart/cart_page.dart`
- [Checkout](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/pay/checkout_page.dart): `lib/screens/pay/checkout_page.dart`
- [Order Success](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/pay/order_success_page.dart): `lib/screens/pay/order_success_page.dart`
- [My Orders](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/oder/my_orders_page.dart): `lib/screens/oder/my_orders_page.dart`
- [Order Tracking](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/oder/track_order_page.dart): `lib/screens/oder/track_order_page.dart`

### Account

- [Login](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/login/login_page.dart): `lib/screens/login/login_page.dart`
- [Profile](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/profile/profile_page.dart): `lib/screens/profile/profile_page.dart`
- [Personal Info](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/profile/personal_info_page.dart): `lib/screens/profile/personal_info_page.dart`
- [Shipping Address](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/profile/shipping_address_page.dart): `lib/screens/profile/shipping_address_page.dart`
- [Payment Methods](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/profile/payment_methods_page.dart): `lib/screens/profile/payment_methods_page.dart`
- [Settings](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/profile/settings_page.dart): `lib/screens/profile/settings_page.dart`

### Engagement

- [Notifications](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/notifications/notifications_page.dart): `lib/screens/notifications/notifications_page.dart`
- [Support Chat](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/chat/support_chat_page.dart): `lib/screens/chat/support_chat_page.dart`
- [Support](https://github.com/tranxuanvy04/thoitrangshop/blob/main/lib/screens/profile/support_page.dart): `lib/screens/profile/support_page.dart`

### Other components

- **Shopper**

## Connections

- Shopper → App Entry: opens
- App Entry → Main Shell: starts
