# wxnanderfact/-toto_cafe_kiosk architecture

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

- Interactive diagram: https://gitdiagram.com/wxnanderfact/-toto_cafe_kiosk
- Repository: https://github.com/wxnanderfact/-toto_cafe_kiosk

## Overview

The tree indicates a Flutter café kiosk with customer-facing screens, ordering and payment screens, membership, and a cashier POS. The README is only a Flutter starter template, and no source excerpts were provided, so runtime wiring and external integrations cannot be confirmed; the graph shows the identifiable components without asserting call relationships.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_customer["Customer kiosk"]
  node_main["App entry<br/>[main.dart]"]
  node_router["App router<br/>[router.dart]"]
  node_welcome["Kiosk welcome"]
  node_menu["Main menu"]
  node_customize["Item customization"]
  node_standby["Standby screen"]
end

subgraph group_orders["Ordering and payment"]
  node_cart["Cart state<br/>[cart_provider.dart]"]
  node_checkout["Checkout"]
  node_qr["QR payment"]
  node_cash["Cash waiting"]
  node_order["Order service<br/>[order_service.dart]"]
  node_pos["Cashier POS"]
end

subgraph group_shared["Shared services"]
  node_member["Member screen<br/>[member_screen.dart]"]
  node_member_service["Member service"]
  node_menu_service["Menu service<br/>[menu_service.dart]"]
  node_menu_model["Menu item model<br/>[menu_item.dart]"]
  node_order_model["Order model<br/>[order.dart]"]
  node_member_model["Member model<br/>[member.dart]"]
  node_vat["VAT calculator"]
  node_custom_rules["Customization rules"]
  node_printer["Printer utility<br/>[printer.dart]"]
  node_locale["Locale state"]
  node_liff["LIFF service<br/>[liff_service.dart]"]
end

node_customer(("Kiosk user"))

click node_main "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/main.dart"
click node_router "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/router.dart"
click node_welcome "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/features/kiosk/presentation/pages/kiosk_welcome_page.dart"
click node_menu "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/screens/main_menu_screen.dart"
click node_customize "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/widgets/item_customization_modal.dart"
click node_cart "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/providers/cart_provider.dart"
click node_checkout "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/screens/checkout_screen.dart"
click node_qr "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/screens/qr_payment_screen.dart"
click node_cash "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/screens/cash_waiting_screen.dart"
click node_order "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/services/order_service.dart"
click node_pos "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/screens/cashier_pos_screen.dart"
click node_standby "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/screens/standby_screen.dart"
click node_member "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/screens/member_screen.dart"
click node_member_service "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/services/member_service.dart"
click node_menu_service "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/services/menu_service.dart"
click node_menu_model "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/models/menu_item.dart"
click node_order_model "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/models/order.dart"
click node_member_model "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/models/member.dart"
click node_vat "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/utils/vat_calculator.dart"
click node_custom_rules "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/utils/customization_rules.dart"
click node_printer "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/utils/printer.dart"
click node_locale "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/providers/locale_provider.dart"
click node_liff "https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/services/liff_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_main,node_router,node_welcome,node_menu,node_customize,node_standby,node_customer toneBlue
class node_cart,node_checkout,node_qr,node_cash,node_order,node_pos toneAmber
class node_member,node_member_service,node_menu_service,node_menu_model,node_order_model,node_member_model,node_vat,node_custom_rules,node_printer,node_locale,node_liff toneMint
```

## Components

### Customer kiosk

- [App entry](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/main.dart): `lib/main.dart`
- [App router](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/router.dart): `lib/router.dart`
- [Kiosk welcome](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/features/kiosk/presentation/pages/kiosk_welcome_page.dart): `lib/features/kiosk/presentation/pages/kiosk_welcome_page.dart`
- [Main menu](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/screens/main_menu_screen.dart): `lib/screens/main_menu_screen.dart`
- [Item customization](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/widgets/item_customization_modal.dart): `lib/widgets/item_customization_modal.dart`
- [Standby screen](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/screens/standby_screen.dart): `lib/screens/standby_screen.dart`

### Ordering and payment

- [Cart state](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/providers/cart_provider.dart): `lib/providers/cart_provider.dart`
- [Checkout](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/screens/checkout_screen.dart): `lib/screens/checkout_screen.dart`
- [QR payment](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/screens/qr_payment_screen.dart): `lib/screens/qr_payment_screen.dart`
- [Cash waiting](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/screens/cash_waiting_screen.dart): `lib/screens/cash_waiting_screen.dart`
- [Order service](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/services/order_service.dart): `lib/services/order_service.dart`
- [Cashier POS](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/screens/cashier_pos_screen.dart): `lib/screens/cashier_pos_screen.dart`

### Shared services

- [Member screen](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/screens/member_screen.dart): `lib/screens/member_screen.dart`
- [Member service](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/services/member_service.dart): `lib/services/member_service.dart`
- [Menu service](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/services/menu_service.dart): `lib/services/menu_service.dart`
- [Menu item model](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/models/menu_item.dart): `lib/models/menu_item.dart`
- [Order model](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/models/order.dart): `lib/models/order.dart`
- [Member model](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/models/member.dart): `lib/models/member.dart`
- [VAT calculator](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/utils/vat_calculator.dart): `lib/utils/vat_calculator.dart`
- [Customization rules](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/utils/customization_rules.dart): `lib/utils/customization_rules.dart`
- [Printer utility](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/utils/printer.dart): `lib/utils/printer.dart`
- [Locale state](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/providers/locale_provider.dart): `lib/providers/locale_provider.dart`
- [LIFF service](https://github.com/wxnanderfact/-toto_cafe_kiosk/blob/main/lib/services/liff_service.dart): `lib/services/liff_service.dart`

### Other components

- **Kiosk user**
