# hozanissa/zanyar architecture

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

- Interactive diagram: https://gitdiagram.com/hozanissa/zanyar
- Repository: https://github.com/hozanissa/zanyar

## Overview

Zanyar is a Flutter application with account, home, map, profile, archive, administration, localization, and theme modules. The likely user journey begins in the app and reaches these features, but the supplied README is only Flutter boilerplate and no Dart source was excerpted, so routing and feature interactions cannot be verified. The graph preserves the visible product areas and the sampled Linux/Windows host relationships; platform startup is scaffolding, not the product workflow.

Main entry points: [`windows/runner/flutter_window.cpp`](https://github.com/hozanissa/zanyar/blob/main/windows/runner/flutter_window.cpp) (Flutter window), [`linux/runner/main.cc`](https://github.com/hozanissa/zanyar/blob/main/linux/runner/main.cc) (Linux runner), [`windows/runner/main.cpp`](https://github.com/hozanissa/zanyar/blob/main/windows/runner/main.cpp) (Windows runner), [`linux/runner/my_application.cc`](https://github.com/hozanissa/zanyar/blob/main/linux/runner/my_application.cc) (Linux app host)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App screens"]
  node_entry["App entry<br/>[main.dart]"]
  node_home["Home screen<br/>[home_screen.dart]"]
  node_map["Map screen<br/>[map_screen.dart]"]
  node_profile["Profile<br/>[profile.dart]"]
  node_archive["Archive<br/>[archive.dart]"]
  node_about["About us<br/>[about_us.dart]"]
  node_splash["Splash screen<br/>[splash_screen.dart]"]
  node_navigation["Navigation bar<br/>[bnb.dart]"]
end

subgraph group_account["Account management"]
  node_login["Login<br/>[login_screen.dart]"]
  node_register["Registration"]
  node_reset["Password reset"]
  node_auth_widgets["Auth controls<br/>[auth_toggles.dart]"]
end

subgraph group_admin["Administration"]
  node_admin_panel["Admin panel<br/>[admin_panel.dart]"]
  node_analytics["Analytics<br/>[analytics.dart]"]
end

subgraph group_shared["Shared app services"]
  node_translations["Translations<br/>[translations.dart]"]
  node_locale_controller["Locale controller"]
  node_kurdish["Kurdish localization"]
  node_theme["App theme<br/>[app_theme.dart]"]
  node_theme_controller["Theme controller"]
end

subgraph group_hosts["Desktop hosts"]
  node_linux_runner["Linux runner<br/>[main.cc]"]
  node_linux_app["Linux app host<br/>[my_application.cc]"]
  node_linux_plugins["Linux plugins"]
  node_windows_runner["Windows runner<br/>[main.cpp]"]
  node_flutter_window["Flutter window<br/>[flutter_window.cpp]"]
  node_win32_window["Win32 window<br/>[win32_window.cpp]"]
  node_windows_plugins["Windows plugins"]
  node_ios_host["iOS host<br/>[AppDelegate.swift]"]
  node_macos_plugins["macOS plugins"]
end

node_user(("App user"))

node_linux_runner -->|"starts"| node_linux_app
node_windows_runner -->|"creates"| node_flutter_window
node_flutter_window -->|"extends"| node_win32_window

click node_entry "https://github.com/hozanissa/zanyar/blob/main/lib/main.dart"
click node_home "https://github.com/hozanissa/zanyar/blob/main/lib/home_screen.dart"
click node_map "https://github.com/hozanissa/zanyar/blob/main/lib/map_screen.dart"
click node_profile "https://github.com/hozanissa/zanyar/blob/main/lib/profile.dart"
click node_archive "https://github.com/hozanissa/zanyar/blob/main/lib/archive.dart"
click node_about "https://github.com/hozanissa/zanyar/blob/main/lib/profile_list/about_us.dart"
click node_login "https://github.com/hozanissa/zanyar/blob/main/lib/login_signup/login_screen.dart"
click node_register "https://github.com/hozanissa/zanyar/blob/main/lib/login_signup/register_new_account.dart"
click node_reset "https://github.com/hozanissa/zanyar/blob/main/lib/login_signup/reset_password.dart"
click node_auth_widgets "https://github.com/hozanissa/zanyar/blob/main/lib/widgets/auth_toggles.dart"
click node_admin_panel "https://github.com/hozanissa/zanyar/blob/main/lib/admin/admin_panel.dart"
click node_analytics "https://github.com/hozanissa/zanyar/blob/main/lib/admin/analytics.dart"
click node_splash "https://github.com/hozanissa/zanyar/blob/main/lib/splash_screen.dart"
click node_navigation "https://github.com/hozanissa/zanyar/blob/main/lib/bnb.dart"
click node_translations "https://github.com/hozanissa/zanyar/blob/main/lib/locale/translations.dart"
click node_locale_controller "https://github.com/hozanissa/zanyar/blob/main/lib/locale/locale_controller.dart"
click node_kurdish "https://github.com/hozanissa/zanyar/blob/main/lib/locale/kurdish_localization.dart"
click node_theme "https://github.com/hozanissa/zanyar/blob/main/lib/theme/app_theme.dart"
click node_theme_controller "https://github.com/hozanissa/zanyar/blob/main/lib/theme/theme_controller.dart"
click node_linux_runner "https://github.com/hozanissa/zanyar/blob/main/linux/runner/main.cc"
click node_linux_app "https://github.com/hozanissa/zanyar/blob/main/linux/runner/my_application.cc"
click node_linux_plugins "https://github.com/hozanissa/zanyar/blob/main/linux/flutter/generated_plugin_registrant.cc"
click node_windows_runner "https://github.com/hozanissa/zanyar/blob/main/windows/runner/main.cpp"
click node_flutter_window "https://github.com/hozanissa/zanyar/blob/main/windows/runner/flutter_window.cpp"
click node_win32_window "https://github.com/hozanissa/zanyar/blob/main/windows/runner/win32_window.cpp"
click node_windows_plugins "https://github.com/hozanissa/zanyar/blob/main/windows/flutter/generated_plugin_registrant.cc"
click node_ios_host "https://github.com/hozanissa/zanyar/blob/main/ios/Runner/AppDelegate.swift"
click node_macos_plugins "https://github.com/hozanissa/zanyar/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_entry,node_home,node_map,node_profile,node_archive,node_about,node_splash,node_navigation,node_user toneBlue
class node_login,node_register,node_reset,node_auth_widgets toneAmber
class node_admin_panel,node_analytics toneMint
class node_translations,node_locale_controller,node_kurdish,node_theme,node_theme_controller toneRose
class node_linux_runner,node_linux_app,node_linux_plugins,node_windows_runner,node_flutter_window,node_win32_window,node_windows_plugins,node_ios_host,node_macos_plugins toneIndigo
```

## Components

### App screens

- [App entry](https://github.com/hozanissa/zanyar/blob/main/lib/main.dart): `lib/main.dart`
- [Home screen](https://github.com/hozanissa/zanyar/blob/main/lib/home_screen.dart): `lib/home_screen.dart`
- [Map screen](https://github.com/hozanissa/zanyar/blob/main/lib/map_screen.dart): `lib/map_screen.dart`
- [Profile](https://github.com/hozanissa/zanyar/blob/main/lib/profile.dart): `lib/profile.dart`
- [Archive](https://github.com/hozanissa/zanyar/blob/main/lib/archive.dart): `lib/archive.dart`
- [About us](https://github.com/hozanissa/zanyar/blob/main/lib/profile_list/about_us.dart): `lib/profile_list/about_us.dart`
- [Splash screen](https://github.com/hozanissa/zanyar/blob/main/lib/splash_screen.dart): `lib/splash_screen.dart`
- [Navigation bar](https://github.com/hozanissa/zanyar/blob/main/lib/bnb.dart): `lib/bnb.dart`

### Account management

- [Login](https://github.com/hozanissa/zanyar/blob/main/lib/login_signup/login_screen.dart): `lib/login_signup/login_screen.dart`
- [Registration](https://github.com/hozanissa/zanyar/blob/main/lib/login_signup/register_new_account.dart): `lib/login_signup/register_new_account.dart`
- [Password reset](https://github.com/hozanissa/zanyar/blob/main/lib/login_signup/reset_password.dart): `lib/login_signup/reset_password.dart`
- [Auth controls](https://github.com/hozanissa/zanyar/blob/main/lib/widgets/auth_toggles.dart): `lib/widgets/auth_toggles.dart`

### Administration

- [Admin panel](https://github.com/hozanissa/zanyar/blob/main/lib/admin/admin_panel.dart): `lib/admin/admin_panel.dart`
- [Analytics](https://github.com/hozanissa/zanyar/blob/main/lib/admin/analytics.dart): `lib/admin/analytics.dart`

### Shared app services

- [Translations](https://github.com/hozanissa/zanyar/blob/main/lib/locale/translations.dart): `lib/locale/translations.dart`
- [Locale controller](https://github.com/hozanissa/zanyar/blob/main/lib/locale/locale_controller.dart): `lib/locale/locale_controller.dart`
- [Kurdish localization](https://github.com/hozanissa/zanyar/blob/main/lib/locale/kurdish_localization.dart): `lib/locale/kurdish_localization.dart`
- [App theme](https://github.com/hozanissa/zanyar/blob/main/lib/theme/app_theme.dart): `lib/theme/app_theme.dart`
- [Theme controller](https://github.com/hozanissa/zanyar/blob/main/lib/theme/theme_controller.dart): `lib/theme/theme_controller.dart`

### Desktop hosts

- [Linux runner](https://github.com/hozanissa/zanyar/blob/main/linux/runner/main.cc): `linux/runner/main.cc`
- [Linux app host](https://github.com/hozanissa/zanyar/blob/main/linux/runner/my_application.cc): `linux/runner/my_application.cc`
- [Linux plugins](https://github.com/hozanissa/zanyar/blob/main/linux/flutter/generated_plugin_registrant.cc): `linux/flutter/generated_plugin_registrant.cc`
- [Windows runner](https://github.com/hozanissa/zanyar/blob/main/windows/runner/main.cpp): `windows/runner/main.cpp`
- [Flutter window](https://github.com/hozanissa/zanyar/blob/main/windows/runner/flutter_window.cpp): `windows/runner/flutter_window.cpp`
- [Win32 window](https://github.com/hozanissa/zanyar/blob/main/windows/runner/win32_window.cpp): `windows/runner/win32_window.cpp`
- [Windows plugins](https://github.com/hozanissa/zanyar/blob/main/windows/flutter/generated_plugin_registrant.cc): `windows/flutter/generated_plugin_registrant.cc`
- [iOS host](https://github.com/hozanissa/zanyar/blob/main/ios/Runner/AppDelegate.swift): `ios/Runner/AppDelegate.swift`
- [macOS plugins](https://github.com/hozanissa/zanyar/blob/main/macos/Flutter/GeneratedPluginRegistrant.swift): `macos/Flutter/GeneratedPluginRegistrant.swift`

### Other components

- **App user**

## Connections

- Linux runner → Linux app host: starts (evidence: `linux/runner/main.cc`)
- Windows runner → Flutter window: creates (evidence: `windows/runner/main.cpp`)
- Flutter window → Win32 window: extends
