# leks51ex/docker_flutter_test architecture

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

- Interactive diagram: https://gitdiagram.com/leks51ex/docker_flutter_test
- Repository: https://github.com/leks51ex/docker_flutter_test

## Overview

This is a starter Flutter application with a Dart entry point and native launch shells; the README documents no domain-specific features or workflow. The sampled code shows Linux and Windows startup paths, and iOS plugin registration. The Dart UI and several native host implementations were not sampled, so their runtime connections are not asserted.

Main entry points: [`windows/runner/flutter_window.cpp`](https://github.com/leks51ex/docker_flutter_test/blob/master/windows/runner/flutter_window.cpp) (Flutter window), [`linux/runner/my_application.cc`](https://github.com/leks51ex/docker_flutter_test/blob/master/linux/runner/my_application.cc) (Linux host), [`windows/runner/win32_window.cpp`](https://github.com/leks51ex/docker_flutter_test/blob/master/windows/runner/win32_window.cpp) (Win32 window), [`linux/runner/main.cc`](https://github.com/leks51ex/docker_flutter_test/blob/master/linux/runner/main.cc) (Linux entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_desktop["Desktop hosts"]
  node_linux_entry["Linux entry<br/>[main.cc]"]
  node_linux_app["Linux host<br/>[my_application.cc]"]
  node_linux_app_header["Linux host API<br/>[my_application.h]"]
  node_linux_plugins["Linux plugin API"]
  node_windows_entry["Windows entry<br/>[main.cpp]"]
  node_windows_flutter["Flutter window<br/>[flutter_window.cpp]"]
  node_windows_flutter_header["Flutter window API<br/>[flutter_window.h]"]
  node_windows_window["Win32 window<br/>[win32_window.cpp]"]
  node_windows_window_header["Win32 window API<br/>[win32_window.h]"]
  node_windows_plugins["Windows plugin API"]
end

subgraph group_mobile["Mobile hosts"]
  node_ios_delegate["iOS app delegate<br/>[AppDelegate.swift]"]
  node_mac_plugins["macOS plugin registration"]
end

subgraph group_dart["Flutter app"]
  node_dart_app["Flutter application<br/>[main.dart]"]
end

node_user(("App user"))

node_user -.->|"uses"| node_dart_app
node_linux_entry -->|"creates and runs"| node_linux_app
node_linux_app -->|"implements"| node_linux_app_header
node_windows_entry -->|"creates"| node_windows_flutter
node_windows_flutter -->|"inherits from"| node_windows_window
node_windows_flutter -->|"implements"| node_windows_flutter_header
node_windows_window -->|"implements"| node_windows_window_header
node_ios_delegate -->|"registers plugins"| node_mac_plugins

click node_dart_app "https://github.com/leks51ex/docker_flutter_test/blob/master/lib/main.dart"
click node_linux_entry "https://github.com/leks51ex/docker_flutter_test/blob/master/linux/runner/main.cc"
click node_linux_app "https://github.com/leks51ex/docker_flutter_test/blob/master/linux/runner/my_application.cc"
click node_linux_app_header "https://github.com/leks51ex/docker_flutter_test/blob/master/linux/runner/my_application.h"
click node_linux_plugins "https://github.com/leks51ex/docker_flutter_test/blob/master/linux/flutter/generated_plugin_registrant.h"
click node_windows_entry "https://github.com/leks51ex/docker_flutter_test/blob/master/windows/runner/main.cpp"
click node_windows_flutter "https://github.com/leks51ex/docker_flutter_test/blob/master/windows/runner/flutter_window.cpp"
click node_windows_flutter_header "https://github.com/leks51ex/docker_flutter_test/blob/master/windows/runner/flutter_window.h"
click node_windows_window "https://github.com/leks51ex/docker_flutter_test/blob/master/windows/runner/win32_window.cpp"
click node_windows_window_header "https://github.com/leks51ex/docker_flutter_test/blob/master/windows/runner/win32_window.h"
click node_windows_plugins "https://github.com/leks51ex/docker_flutter_test/blob/master/windows/flutter/generated_plugin_registrant.h"
click node_ios_delegate "https://github.com/leks51ex/docker_flutter_test/blob/master/ios/Runner/AppDelegate.swift"
click node_mac_plugins "https://github.com/leks51ex/docker_flutter_test/blob/master/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_linux_entry,node_linux_app,node_linux_app_header,node_linux_plugins,node_windows_entry,node_windows_flutter,node_windows_flutter_header,node_windows_window,node_windows_window_header,node_windows_plugins,node_user toneBlue
class node_ios_delegate,node_mac_plugins toneAmber
class node_dart_app toneMint
```

## Components

### Desktop hosts

- [Linux entry](https://github.com/leks51ex/docker_flutter_test/blob/master/linux/runner/main.cc): `linux/runner/main.cc`
- [Linux host](https://github.com/leks51ex/docker_flutter_test/blob/master/linux/runner/my_application.cc): `linux/runner/my_application.cc`
- [Linux host API](https://github.com/leks51ex/docker_flutter_test/blob/master/linux/runner/my_application.h): `linux/runner/my_application.h`
- [Linux plugin API](https://github.com/leks51ex/docker_flutter_test/blob/master/linux/flutter/generated_plugin_registrant.h): `linux/flutter/generated_plugin_registrant.h`
- [Windows entry](https://github.com/leks51ex/docker_flutter_test/blob/master/windows/runner/main.cpp): `windows/runner/main.cpp`
- [Flutter window](https://github.com/leks51ex/docker_flutter_test/blob/master/windows/runner/flutter_window.cpp): `windows/runner/flutter_window.cpp`
- [Flutter window API](https://github.com/leks51ex/docker_flutter_test/blob/master/windows/runner/flutter_window.h): `windows/runner/flutter_window.h`
- [Win32 window](https://github.com/leks51ex/docker_flutter_test/blob/master/windows/runner/win32_window.cpp): `windows/runner/win32_window.cpp`
- [Win32 window API](https://github.com/leks51ex/docker_flutter_test/blob/master/windows/runner/win32_window.h): `windows/runner/win32_window.h`
- [Windows plugin API](https://github.com/leks51ex/docker_flutter_test/blob/master/windows/flutter/generated_plugin_registrant.h): `windows/flutter/generated_plugin_registrant.h`

### Mobile hosts

- [iOS app delegate](https://github.com/leks51ex/docker_flutter_test/blob/master/ios/Runner/AppDelegate.swift): `ios/Runner/AppDelegate.swift`
- [macOS plugin registration](https://github.com/leks51ex/docker_flutter_test/blob/master/macos/Flutter/GeneratedPluginRegistrant.swift): `macos/Flutter/GeneratedPluginRegistrant.swift`

### Flutter app

- [Flutter application](https://github.com/leks51ex/docker_flutter_test/blob/master/lib/main.dart): `lib/main.dart`

### Other components

- **App user**

## Connections

- App user → Flutter application: uses
- Linux entry → Linux host: creates and runs (evidence: `linux/runner/main.cc`)
- Linux host → Linux host API: implements (evidence: `linux/runner/my_application.cc`)
- Windows entry → Flutter window: creates (evidence: `windows/runner/main.cpp`)
- Flutter window → Win32 window: inherits from
- Flutter window → Flutter window API: implements (evidence: `windows/runner/flutter_window.cpp`)
- Win32 window → Win32 window API: implements (evidence: `windows/runner/win32_window.cpp`)
- iOS app delegate → macOS plugin registration: registers plugins (evidence: `ios/Runner/AppDelegate.swift`)
