# malak987/luqma architecture

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

- Interactive diagram: https://gitdiagram.com/malak987/luqma
- Repository: https://github.com/malak987/luqma

## Overview

This is a Flutter client app; the README provides no product-specific workflow description, and the supplied excerpts cover only desktop runner scaffolding—not the Dart application or its feature implementations. The tree indicates a food-discovery and ordering-style app with authentication, catalog, cart, addresses, favorites, and location modules, but their runtime connections cannot be verified here. The graph therefore shows only directly evidenced runner behavior and leaves the unsampled product workflow unlinked.

Main entry points: [`windows/runner/main.cpp`](https://github.com/malak987/luqma/blob/main/windows/runner/main.cpp) (Windows entry), [`windows/runner/flutter_window.h`](https://github.com/malak987/luqma/blob/main/windows/runner/flutter_window.h) (Flutter host window), [`linux/runner/main.cc`](https://github.com/malak987/luqma/blob/main/linux/runner/main.cc) (Linux entry), [`windows/runner/utils.h`](https://github.com/malak987/luqma/blob/main/windows/runner/utils.h) (Windows utilities)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_desktop["Desktop launchers"]
  node_windows_entry["Windows entry<br/>[main.cpp]"]
  node_windows_helpers["Windows utilities<br/>[utils.h]"]
  node_flutter_window["Flutter host window<br/>[flutter_window.h]"]
  node_win32_window["Win32 window<br/>[win32_window.cpp]"]
  node_linux_entry["Linux entry<br/>[main.cc]"]
  node_linux_app["GTK app<br/>[my_application.h]"]
  node_linux_plugins["Linux plugin registration"]
  node_windows_plugins["Windows plugin registration"]
  node_macos_plugins["macOS plugin registration"]
end

node_windows_entry -->|"gets arguments"| node_windows_helpers
node_windows_entry -->|"creates"| node_flutter_window
node_flutter_window -->|"extends"| node_win32_window
node_linux_entry -->|"creates and runs"| node_linux_app

click node_windows_entry "https://github.com/malak987/luqma/blob/main/windows/runner/main.cpp"
click node_windows_helpers "https://github.com/malak987/luqma/blob/main/windows/runner/utils.h"
click node_flutter_window "https://github.com/malak987/luqma/blob/main/windows/runner/flutter_window.h"
click node_win32_window "https://github.com/malak987/luqma/blob/main/windows/runner/win32_window.cpp"
click node_linux_entry "https://github.com/malak987/luqma/blob/main/linux/runner/main.cc"
click node_linux_app "https://github.com/malak987/luqma/blob/main/linux/runner/my_application.h"
click node_linux_plugins "https://github.com/malak987/luqma/blob/main/linux/flutter/generated_plugin_registrant.cc"
click node_windows_plugins "https://github.com/malak987/luqma/blob/main/windows/flutter/generated_plugin_registrant.cc"
click node_macos_plugins "https://github.com/malak987/luqma/blob/main/macos/Flutter/GeneratedPluginRegistrant.swift"

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_windows_entry,node_windows_helpers,node_flutter_window,node_win32_window,node_linux_entry,node_linux_app,node_linux_plugins,node_windows_plugins,node_macos_plugins toneBlue
```

## Components

### Desktop launchers

- [Windows entry](https://github.com/malak987/luqma/blob/main/windows/runner/main.cpp): `windows/runner/main.cpp`
- [Windows utilities](https://github.com/malak987/luqma/blob/main/windows/runner/utils.h): `windows/runner/utils.h`
- [Flutter host window](https://github.com/malak987/luqma/blob/main/windows/runner/flutter_window.h): `windows/runner/flutter_window.h`
- [Win32 window](https://github.com/malak987/luqma/blob/main/windows/runner/win32_window.cpp): `windows/runner/win32_window.cpp`
- [Linux entry](https://github.com/malak987/luqma/blob/main/linux/runner/main.cc): `linux/runner/main.cc`
- [GTK app](https://github.com/malak987/luqma/blob/main/linux/runner/my_application.h): `linux/runner/my_application.h`
- [Linux plugin registration](https://github.com/malak987/luqma/blob/main/linux/flutter/generated_plugin_registrant.cc): `linux/flutter/generated_plugin_registrant.cc`
- [Windows plugin registration](https://github.com/malak987/luqma/blob/main/windows/flutter/generated_plugin_registrant.cc): `windows/flutter/generated_plugin_registrant.cc`
- [macOS plugin registration](https://github.com/malak987/luqma/blob/main/macos/Flutter/GeneratedPluginRegistrant.swift): `macos/Flutter/GeneratedPluginRegistrant.swift`

## Connections

- Windows entry → Windows utilities: gets arguments (evidence: `windows/runner/main.cpp`)
- Windows entry → Flutter host window: creates (evidence: `windows/runner/main.cpp`)
- Flutter host window → Win32 window: extends (evidence: `windows/runner/flutter_window.h`)
- Linux entry → GTK app: creates and runs (evidence: `linux/runner/main.cc`)
