# keroloskamal0/quizland architecture

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

- Interactive diagram: https://gitdiagram.com/keroloskamal0/quizland
- Repository: https://github.com/keroloskamal0/quizland

## Overview

QuizLand is a Flutter application, but the README only identifies its name and the Dart application source was not sampled. The available evidence mainly describes native desktop shells that create and host Flutter views; it does not establish the app’s screens or domain workflow. The graph therefore focuses on those evidenced runtime entry paths and their host-window layers. Linux and Windows are sampled; other platform directories are not expanded into unverified runtime flows.

Main entry points: [`linux/runner/my_application.cc`](https://github.com/keroloskamal0/quizland/blob/main/linux/runner/my_application.cc) (GTK application), [`windows/runner/flutter_window.cpp`](https://github.com/keroloskamal0/quizland/blob/main/windows/runner/flutter_window.cpp) (Flutter window), [`lib/main.dart`](https://github.com/keroloskamal0/quizland/blob/main/lib/main.dart) (Flutter app), [`windows/runner/main.cpp`](https://github.com/keroloskamal0/quizland/blob/main/windows/runner/main.cpp) (Windows entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Flutter application"]
  node_dart["Flutter app<br/>[main.dart]"]
end

subgraph group_linux["Linux host"]
  node_linux_entry["Linux entry<br/>[main.cc]"]
  node_linux_app["GTK application<br/>[my_application.cc]"]
  node_linux_app_type["Application type<br/>[my_application.h]"]
end

subgraph group_windows["Windows host"]
  node_windows_entry["Windows entry<br/>[main.cpp]"]
  node_flutter_window["Flutter window<br/>[flutter_window.cpp]"]
  node_flutter_window_decl["Flutter window type<br/>[flutter_window.h]"]
  node_win32_window["Win32 window<br/>[win32_window.cpp]"]
  node_win32_window_decl["Win32 window type<br/>[win32_window.h]"]
  node_windows_utils["Launch utilities<br/>[utils.cpp]"]
end

node_user(("App user"))

node_linux_entry -->|"creates and runs"| node_linux_app
node_linux_app -->|"implements type"| node_linux_app_type
node_linux_app -.->|"hosts Flutter view"| node_dart
node_windows_entry -->|"creates and opens"| node_flutter_window
node_windows_entry -->|"gets arguments"| node_windows_utils
node_flutter_window -->|"inherits and delegates"| node_win32_window
node_flutter_window -.->|"hosts Flutter view"| node_dart
node_flutter_window_decl -->|"inherits from"| node_win32_window_decl
node_win32_window -->|"implements type"| node_win32_window_decl
node_user -.->|"uses"| node_dart

click node_dart "https://github.com/keroloskamal0/quizland/blob/main/lib/main.dart"
click node_linux_entry "https://github.com/keroloskamal0/quizland/blob/main/linux/runner/main.cc"
click node_linux_app "https://github.com/keroloskamal0/quizland/blob/main/linux/runner/my_application.cc"
click node_linux_app_type "https://github.com/keroloskamal0/quizland/blob/main/linux/runner/my_application.h"
click node_windows_entry "https://github.com/keroloskamal0/quizland/blob/main/windows/runner/main.cpp"
click node_flutter_window "https://github.com/keroloskamal0/quizland/blob/main/windows/runner/flutter_window.cpp"
click node_flutter_window_decl "https://github.com/keroloskamal0/quizland/blob/main/windows/runner/flutter_window.h"
click node_win32_window "https://github.com/keroloskamal0/quizland/blob/main/windows/runner/win32_window.cpp"
click node_win32_window_decl "https://github.com/keroloskamal0/quizland/blob/main/windows/runner/win32_window.h"
click node_windows_utils "https://github.com/keroloskamal0/quizland/blob/main/windows/runner/utils.cpp"

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_dart,node_user toneBlue
class node_linux_entry,node_linux_app,node_linux_app_type toneAmber
class node_windows_entry,node_flutter_window,node_flutter_window_decl,node_win32_window,node_win32_window_decl,node_windows_utils toneMint
```

## Components

### Flutter application

- [Flutter app](https://github.com/keroloskamal0/quizland/blob/main/lib/main.dart): `lib/main.dart`

### Linux host

- [Linux entry](https://github.com/keroloskamal0/quizland/blob/main/linux/runner/main.cc): `linux/runner/main.cc`
- [GTK application](https://github.com/keroloskamal0/quizland/blob/main/linux/runner/my_application.cc): `linux/runner/my_application.cc`
- [Application type](https://github.com/keroloskamal0/quizland/blob/main/linux/runner/my_application.h): `linux/runner/my_application.h`

### Windows host

- [Windows entry](https://github.com/keroloskamal0/quizland/blob/main/windows/runner/main.cpp): `windows/runner/main.cpp`
- [Flutter window](https://github.com/keroloskamal0/quizland/blob/main/windows/runner/flutter_window.cpp): `windows/runner/flutter_window.cpp`
- [Flutter window type](https://github.com/keroloskamal0/quizland/blob/main/windows/runner/flutter_window.h): `windows/runner/flutter_window.h`
- [Win32 window](https://github.com/keroloskamal0/quizland/blob/main/windows/runner/win32_window.cpp): `windows/runner/win32_window.cpp`
- [Win32 window type](https://github.com/keroloskamal0/quizland/blob/main/windows/runner/win32_window.h): `windows/runner/win32_window.h`
- [Launch utilities](https://github.com/keroloskamal0/quizland/blob/main/windows/runner/utils.cpp): `windows/runner/utils.cpp`

### Other components

- **App user**

## Connections

- Linux entry → GTK application: creates and runs (evidence: `linux/runner/main.cc`)
- GTK application → Application type: implements type (evidence: `linux/runner/my_application.cc`)
- GTK application → Flutter app: hosts Flutter view (evidence: `linux/runner/my_application.cc`)
- Windows entry → Flutter window: creates and opens (evidence: `windows/runner/main.cpp`)
- Windows entry → Launch utilities: gets arguments (evidence: `windows/runner/main.cpp`)
- Flutter window → Win32 window: inherits and delegates (evidence: `windows/runner/flutter_window.cpp`)
- Flutter window → Flutter app: hosts Flutter view (evidence: `windows/runner/flutter_window.cpp`)
- Flutter window type → Win32 window type: inherits from (evidence: `windows/runner/flutter_window.h`)
- Win32 window → Win32 window type: implements type (evidence: `windows/runner/win32_window.cpp`)
- App user → Flutter app: uses
