# chenda-oeun/project_tmp architecture

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

- Interactive diagram: https://gitdiagram.com/chenda-oeun/project_tmp
- Repository: https://github.com/chenda-oeun/project_tmp

## Overview

This is a Flutter application starter with a finance-oriented set of screens (login, home, dashboard, transactions, reports, and profile) visible in the source tree; the README describes no specific behavior. The Dart implementation was not sampled, so screen-to-screen flow and data behavior cannot be established. The graph includes the visible screen areas and the sampled Windows/Linux startup and embedding components, without asserting links between screens. Native startup relationships are limited to those shown in the excerpts or SOURCE INDEX.

Main entry points: [`windows/runner/main.cpp`](https://github.com/chenda-oeun/project_tmp/blob/main/windows/runner/main.cpp) (Windows startup), [`windows/runner/flutter_window.cpp`](https://github.com/chenda-oeun/project_tmp/blob/main/windows/runner/flutter_window.cpp) (Flutter window), [`linux/runner/my_application.cc`](https://github.com/chenda-oeun/project_tmp/blob/main/linux/runner/my_application.cc) (GTK application), [`linux/flutter/generated_plugin_registrant.cc`](https://github.com/chenda-oeun/project_tmp/blob/main/linux/flutter/generated_plugin_registrant.cc) (Plugin registration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Flutter app"]
  node_dart_app["Flutter app<br/>[main.dart]"]
  node_login["Login screen<br/>[login_page.dart]"]
  node_home["Home screen<br/>[home.dart]"]
  node_dashboard["Dashboard tab<br/>[dashboard_tab.dart]"]
  node_transactions["Transactions screen"]
  node_reports["Reports screen<br/>[reports_page.dart]"]
  node_profile["Profile screen<br/>[profile_page.dart]"]
  node_entry["Entry point<br/>[entry_point.dart]"]
end

subgraph group_windows["Windows host"]
  node_win_main["Windows startup<br/>[main.cpp]"]
  node_flutter_window["Flutter window<br/>[flutter_window.cpp]"]
  node_win_base["Window host<br/>[win32_window.cpp]"]
  node_win_plugins["Plugin registration"]
  node_win_header["Window interface<br/>[win32_window.h]"]
end

subgraph group_linux["Linux host"]
  node_linux_main["Linux startup<br/>[main.cc]"]
  node_linux_app["GTK application<br/>[my_application.cc]"]
  node_linux_header["Application interface<br/>[my_application.h]"]
  node_linux_plugins["Plugin registration"]
  node_linux_plugin_header["Plugin interface"]
end

node_user(("App user"))

node_win_main -->|"creates"| node_flutter_window
node_flutter_window -->|"inherits"| node_win_base
node_win_main -.->|"launches"| node_dart_app
node_linux_main -->|"creates"| node_linux_app
node_linux_app -->|"registers"| node_linux_plugins
node_linux_plugins -->|"declares"| node_linux_plugin_header
node_user -.->|"uses"| node_dart_app

click node_dart_app "https://github.com/chenda-oeun/project_tmp/blob/main/lib/main.dart"
click node_login "https://github.com/chenda-oeun/project_tmp/blob/main/lib/view/pages/login_page.dart"
click node_home "https://github.com/chenda-oeun/project_tmp/blob/main/lib/view/pages/home.dart"
click node_dashboard "https://github.com/chenda-oeun/project_tmp/blob/main/lib/view/pages/dashboard_tab.dart"
click node_transactions "https://github.com/chenda-oeun/project_tmp/blob/main/lib/view/pages/transactions_page.dart"
click node_reports "https://github.com/chenda-oeun/project_tmp/blob/main/lib/view/pages/reports_page.dart"
click node_profile "https://github.com/chenda-oeun/project_tmp/blob/main/lib/view/pages/profile_page.dart"
click node_entry "https://github.com/chenda-oeun/project_tmp/blob/main/lib/view/pages/entry_point.dart"
click node_win_main "https://github.com/chenda-oeun/project_tmp/blob/main/windows/runner/main.cpp"
click node_flutter_window "https://github.com/chenda-oeun/project_tmp/blob/main/windows/runner/flutter_window.cpp"
click node_win_base "https://github.com/chenda-oeun/project_tmp/blob/main/windows/runner/win32_window.cpp"
click node_win_plugins "https://github.com/chenda-oeun/project_tmp/blob/main/windows/flutter/generated_plugin_registrant.cc"
click node_win_header "https://github.com/chenda-oeun/project_tmp/blob/main/windows/runner/win32_window.h"
click node_linux_main "https://github.com/chenda-oeun/project_tmp/blob/main/linux/runner/main.cc"
click node_linux_app "https://github.com/chenda-oeun/project_tmp/blob/main/linux/runner/my_application.cc"
click node_linux_header "https://github.com/chenda-oeun/project_tmp/blob/main/linux/runner/my_application.h"
click node_linux_plugins "https://github.com/chenda-oeun/project_tmp/blob/main/linux/flutter/generated_plugin_registrant.cc"
click node_linux_plugin_header "https://github.com/chenda-oeun/project_tmp/blob/main/linux/flutter/generated_plugin_registrant.h"

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_app,node_login,node_home,node_dashboard,node_transactions,node_reports,node_profile,node_entry,node_user toneBlue
class node_win_main,node_flutter_window,node_win_base,node_win_plugins,node_win_header toneAmber
class node_linux_main,node_linux_app,node_linux_header,node_linux_plugins,node_linux_plugin_header toneMint
```

## Components

### Flutter app

- [Flutter app](https://github.com/chenda-oeun/project_tmp/blob/main/lib/main.dart): `lib/main.dart`
- [Login screen](https://github.com/chenda-oeun/project_tmp/blob/main/lib/view/pages/login_page.dart): `lib/view/pages/login_page.dart`
- [Home screen](https://github.com/chenda-oeun/project_tmp/blob/main/lib/view/pages/home.dart): `lib/view/pages/home.dart`
- [Dashboard tab](https://github.com/chenda-oeun/project_tmp/blob/main/lib/view/pages/dashboard_tab.dart): `lib/view/pages/dashboard_tab.dart`
- [Transactions screen](https://github.com/chenda-oeun/project_tmp/blob/main/lib/view/pages/transactions_page.dart): `lib/view/pages/transactions_page.dart`
- [Reports screen](https://github.com/chenda-oeun/project_tmp/blob/main/lib/view/pages/reports_page.dart): `lib/view/pages/reports_page.dart`
- [Profile screen](https://github.com/chenda-oeun/project_tmp/blob/main/lib/view/pages/profile_page.dart): `lib/view/pages/profile_page.dart`
- [Entry point](https://github.com/chenda-oeun/project_tmp/blob/main/lib/view/pages/entry_point.dart): `lib/view/pages/entry_point.dart`

### Windows host

- [Windows startup](https://github.com/chenda-oeun/project_tmp/blob/main/windows/runner/main.cpp): `windows/runner/main.cpp`
- [Flutter window](https://github.com/chenda-oeun/project_tmp/blob/main/windows/runner/flutter_window.cpp): `windows/runner/flutter_window.cpp`
- [Window host](https://github.com/chenda-oeun/project_tmp/blob/main/windows/runner/win32_window.cpp): `windows/runner/win32_window.cpp`
- [Plugin registration](https://github.com/chenda-oeun/project_tmp/blob/main/windows/flutter/generated_plugin_registrant.cc): `windows/flutter/generated_plugin_registrant.cc`
- [Window interface](https://github.com/chenda-oeun/project_tmp/blob/main/windows/runner/win32_window.h): `windows/runner/win32_window.h`

### Linux host

- [Linux startup](https://github.com/chenda-oeun/project_tmp/blob/main/linux/runner/main.cc): `linux/runner/main.cc`
- [GTK application](https://github.com/chenda-oeun/project_tmp/blob/main/linux/runner/my_application.cc): `linux/runner/my_application.cc`
- [Application interface](https://github.com/chenda-oeun/project_tmp/blob/main/linux/runner/my_application.h): `linux/runner/my_application.h`
- [Plugin registration](https://github.com/chenda-oeun/project_tmp/blob/main/linux/flutter/generated_plugin_registrant.cc): `linux/flutter/generated_plugin_registrant.cc`
- [Plugin interface](https://github.com/chenda-oeun/project_tmp/blob/main/linux/flutter/generated_plugin_registrant.h): `linux/flutter/generated_plugin_registrant.h`

### Other components

- **App user**

## Connections

- Windows startup → Flutter window: creates (evidence: `windows/runner/main.cpp`)
- Flutter window → Window host: inherits
- Windows startup → Flutter app: launches
- Linux startup → GTK application: creates (evidence: `linux/runner/main.cc`)
- GTK application → Plugin registration: registers (evidence: `linux/runner/my_application.cc`)
- Plugin registration → Plugin interface: declares (evidence: `linux/flutter/generated_plugin_registrant.cc`)
- App user → Flutter app: uses
