# deletenter/bloma_florist architecture

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

- Interactive diagram: https://gitdiagram.com/deletenter/bloma_florist
- Repository: https://github.com/deletenter/bloma_florist

## Overview

The repository appears to be a Flutter florist marketplace with customer-facing shopping and merchant-facing management surfaces. The tree identifies distinct feature areas, but the README is only a Flutter starter description and no Dart application source was excerpted. Accordingly, the graph shows the likely user journey and major product branches, while their connections are dashed and unverified rather than presented as inspected runtime calls.

Main entry points: [`lib/merchant/features/dashboard/merchant_dashboard.dart`](https://github.com/deletenter/bloma_florist/blob/main/lib/merchant/features/dashboard/merchant_dashboard.dart) (Merchant dashboard), [`lib/customer/screens/home_screen.dart`](https://github.com/deletenter/bloma_florist/blob/main/lib/customer/screens/home_screen.dart) (Home browsing), [`lib/customer/cart/checkout_screen.dart`](https://github.com/deletenter/bloma_florist/blob/main/lib/customer/cart/checkout_screen.dart) (Checkout), [`lib/customer/home/product/product_screen.dart`](https://github.com/deletenter/bloma_florist/blob/main/lib/customer/home/product/product_screen.dart) (Product catalog)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_customer["Customer app"]
  node_auth["Sign in<br/>[login_screen.dart]"]
  node_home["Home browsing<br/>[home_screen.dart]"]
  node_categories["Flower categories"]
  node_catalog["Product catalog"]
  node_product_detail["Product details"]
  node_cart["Shopping cart<br/>[cart_screen.dart]"]
  node_checkout["Checkout"]
  node_delivery["Delivery"]
  node_customer_chat["Customer chat<br/>[chat_screen.dart]"]
  node_profile["Customer profile"]
end

subgraph group_merchant["Merchant tools"]
  node_merchant_dashboard["Merchant dashboard"]
  node_merchant_products["Product management"]
  node_merchant_orders["Order management"]
  node_merchant_earnings["Earnings"]
  node_merchant_portfolio["Portfolio"]
  node_merchant_chats["Merchant chats"]
end

subgraph group_shared["Shared services"]
  node_database["Database service"]
  node_ai_service["AI service<br/>[ai_service.dart]"]
end

node_customer_actor(("Customer"))
node_merchant_actor(("Merchant"))

node_customer_actor -.->|"signs in"| node_auth
node_customer_actor -.->|"browses"| node_home
node_home -.->|"explores"| node_categories
node_home -.->|"views products"| node_catalog
node_catalog -.->|"opens item"| node_product_detail
node_product_detail -.->|"adds item"| node_cart
node_cart -.->|"proceeds to"| node_checkout
node_checkout -.->|"continues to"| node_delivery
node_merchant_actor -.->|"manages shop"| node_merchant_dashboard
node_merchant_dashboard -.->|"manages products"| node_merchant_products
node_merchant_dashboard -.->|"manages orders"| node_merchant_orders
node_merchant_dashboard -.->|"views earnings"| node_merchant_earnings
node_merchant_dashboard -.->|"maintains portfolio"| node_merchant_portfolio
node_merchant_dashboard -.->|"handles chats"| node_merchant_chats
node_customer_actor -.->|"starts chat"| node_customer_chat
node_customer_actor -.->|"manages profile"| node_profile
node_checkout -.->|"uses data"| node_database
node_merchant_orders -.->|"uses data"| node_database
node_customer_chat -.->|"may use AI"| node_ai_service

click node_auth "https://github.com/deletenter/bloma_florist/blob/main/lib/auth/login_screen.dart"
click node_home "https://github.com/deletenter/bloma_florist/blob/main/lib/customer/screens/home_screen.dart"
click node_categories "https://github.com/deletenter/bloma_florist/tree/main/lib/categories_screen"
click node_catalog "https://github.com/deletenter/bloma_florist/blob/main/lib/customer/home/product/product_screen.dart"
click node_product_detail "https://github.com/deletenter/bloma_florist/blob/main/lib/customer/home/product/product_details.dart"
click node_cart "https://github.com/deletenter/bloma_florist/blob/main/lib/customer/cart/cart_screen.dart"
click node_checkout "https://github.com/deletenter/bloma_florist/blob/main/lib/customer/cart/checkout_screen.dart"
click node_delivery "https://github.com/deletenter/bloma_florist/blob/main/lib/customer/delivery/delivery_screen.dart"
click node_customer_chat "https://github.com/deletenter/bloma_florist/blob/main/lib/customer/chat/chat_screen.dart"
click node_profile "https://github.com/deletenter/bloma_florist/blob/main/lib/customer/profile/profile_screen.dart"
click node_merchant_dashboard "https://github.com/deletenter/bloma_florist/blob/main/lib/merchant/features/dashboard/merchant_dashboard.dart"
click node_merchant_products "https://github.com/deletenter/bloma_florist/blob/main/lib/merchant/features/products/product_list_screen.dart"
click node_merchant_orders "https://github.com/deletenter/bloma_florist/blob/main/lib/merchant/features/orders/order_list_screen.dart"
click node_merchant_earnings "https://github.com/deletenter/bloma_florist/blob/main/lib/merchant/features/earnings/earnings_screen.dart"
click node_merchant_portfolio "https://github.com/deletenter/bloma_florist/blob/main/lib/merchant/features/portfolio/portfolio_screen.dart"
click node_merchant_chats "https://github.com/deletenter/bloma_florist/blob/main/lib/merchant/features/chats/chat_list_screen.dart"
click node_database "https://github.com/deletenter/bloma_florist/blob/main/lib/services/database_service.dart"
click node_ai_service "https://github.com/deletenter/bloma_florist/blob/main/lib/services/ai_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_auth,node_home,node_categories,node_catalog,node_product_detail,node_cart,node_checkout,node_delivery,node_customer_chat,node_profile toneBlue
class node_merchant_dashboard,node_merchant_products,node_merchant_orders,node_merchant_earnings,node_merchant_portfolio,node_merchant_chats toneAmber
class node_database,node_ai_service toneMint
class node_customer_actor,node_merchant_actor toneIndigo
```

## Components

### Customer app

- [Sign in](https://github.com/deletenter/bloma_florist/blob/main/lib/auth/login_screen.dart): `lib/auth/login_screen.dart`
- [Home browsing](https://github.com/deletenter/bloma_florist/blob/main/lib/customer/screens/home_screen.dart): `lib/customer/screens/home_screen.dart`
- [Flower categories](https://github.com/deletenter/bloma_florist/tree/main/lib/categories_screen): `lib/categories_screen`
- [Product catalog](https://github.com/deletenter/bloma_florist/blob/main/lib/customer/home/product/product_screen.dart): `lib/customer/home/product/product_screen.dart`
- [Product details](https://github.com/deletenter/bloma_florist/blob/main/lib/customer/home/product/product_details.dart): `lib/customer/home/product/product_details.dart`
- [Shopping cart](https://github.com/deletenter/bloma_florist/blob/main/lib/customer/cart/cart_screen.dart): `lib/customer/cart/cart_screen.dart`
- [Checkout](https://github.com/deletenter/bloma_florist/blob/main/lib/customer/cart/checkout_screen.dart): `lib/customer/cart/checkout_screen.dart`
- [Delivery](https://github.com/deletenter/bloma_florist/blob/main/lib/customer/delivery/delivery_screen.dart): `lib/customer/delivery/delivery_screen.dart`
- [Customer chat](https://github.com/deletenter/bloma_florist/blob/main/lib/customer/chat/chat_screen.dart): `lib/customer/chat/chat_screen.dart`
- [Customer profile](https://github.com/deletenter/bloma_florist/blob/main/lib/customer/profile/profile_screen.dart): `lib/customer/profile/profile_screen.dart`

### Merchant tools

- [Merchant dashboard](https://github.com/deletenter/bloma_florist/blob/main/lib/merchant/features/dashboard/merchant_dashboard.dart): `lib/merchant/features/dashboard/merchant_dashboard.dart`
- [Product management](https://github.com/deletenter/bloma_florist/blob/main/lib/merchant/features/products/product_list_screen.dart): `lib/merchant/features/products/product_list_screen.dart`
- [Order management](https://github.com/deletenter/bloma_florist/blob/main/lib/merchant/features/orders/order_list_screen.dart): `lib/merchant/features/orders/order_list_screen.dart`
- [Earnings](https://github.com/deletenter/bloma_florist/blob/main/lib/merchant/features/earnings/earnings_screen.dart): `lib/merchant/features/earnings/earnings_screen.dart`
- [Portfolio](https://github.com/deletenter/bloma_florist/blob/main/lib/merchant/features/portfolio/portfolio_screen.dart): `lib/merchant/features/portfolio/portfolio_screen.dart`
- [Merchant chats](https://github.com/deletenter/bloma_florist/blob/main/lib/merchant/features/chats/chat_list_screen.dart): `lib/merchant/features/chats/chat_list_screen.dart`

### Shared services

- [Database service](https://github.com/deletenter/bloma_florist/blob/main/lib/services/database_service.dart): `lib/services/database_service.dart`
- [AI service](https://github.com/deletenter/bloma_florist/blob/main/lib/services/ai_service.dart): `lib/services/ai_service.dart`

### Other components

- **Customer**
- **Merchant**

## Connections

- Customer → Sign in: signs in
- Customer → Home browsing: browses
- Home browsing → Flower categories: explores
- Home browsing → Product catalog: views products
- Product catalog → Product details: opens item
- Product details → Shopping cart: adds item
- Shopping cart → Checkout: proceeds to
- Checkout → Delivery: continues to
- Merchant → Merchant dashboard: manages shop
- Merchant dashboard → Product management: manages products
- Merchant dashboard → Order management: manages orders
- Merchant dashboard → Earnings: views earnings
- Merchant dashboard → Portfolio: maintains portfolio
- Merchant dashboard → Merchant chats: handles chats
- Customer → Customer chat: starts chat
- Customer → Customer profile: manages profile
- Checkout → Database service: uses data
- Order management → Database service: uses data
- Customer chat → AI service: may use AI
