# yosefsala7/elara_space_app architecture

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

- Interactive diagram: https://gitdiagram.com/yosefsala7/elara_space_app
- Repository: https://github.com/yosefsala7/elara_space_app

## Overview

This is a Flutter application scaffold named space_app; the README does not describe user-facing capabilities. The tree shows an onboarding feature, shared presentation styling and branding, and platform launch shells. Dart implementation excerpts were not provided, so the onboarding flow and its internal calls cannot be verified; the graph shows those components without guessing their connections. Native-shell relationships are limited to the supplied excerpts and source index.

Main entry points: [`linux/runner/my_application.cc`](https://github.com/yosefsala7/elara_space_app/blob/main/linux/runner/my_application.cc) (Linux application), [`windows/runner/flutter_window.h`](https://github.com/yosefsala7/elara_space_app/blob/main/windows/runner/flutter_window.h) (Flutter window host), [`windows/runner/win32_window.h`](https://github.com/yosefsala7/elara_space_app/blob/main/windows/runner/win32_window.h) (Win32 window interface), [`linux/runner/main.cc`](https://github.com/yosefsala7/elara_space_app/blob/main/linux/runner/main.cc) (Linux launcher)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_flutter["Flutter application"]
  node_entry["Flutter entry<br/>[main.dart]"]
  node_theme["App theme<br/>[app_theme.dart]"]
  node_colors["App colors<br/>[app_colors.dart]"]
  node_background["Shared background<br/>[background.dart]"]
  node_branding["Branding<br/>[branding.dart]"]
  node_assets["App assets"]
end

subgraph group_onboarding["Onboarding feature"]
  node_onboarding_screen["Onboarding screen"]
  node_onboarding_model["Onboarding model"]
  node_onboarding_animation["Onboarding animation"]
  node_onboarding_content["Onboarding content"]
  node_onboarding_controller["Onboarding controller"]
  node_page_indicator["Page indicator<br/>[page_indictor.dart]"]
end

subgraph group_platform["Platform shells"]
  node_ios_shell["iOS shell<br/>[AppDelegate.swift]"]
  node_linux_main["Linux launcher<br/>[main.cc]"]
  node_linux_app["Linux application<br/>[my_application.cc]"]
  node_linux_app_header["Linux app interface<br/>[my_application.h]"]
  node_linux_plugins["Linux plugin registry"]
  node_windows_main["Windows launcher<br/>[main.cpp]"]
  node_flutter_window["Flutter window host<br/>[flutter_window.h]"]
  node_win32_window["Win32 window<br/>[win32_window.cpp]"]
  node_win32_window_header["Win32 window interface<br/>[win32_window.h]"]
  node_windows_plugins["Windows plugin registry"]
  node_mac_plugins["macOS plugin registry"]
end

node_user(("App user"))

node_linux_main -->|"creates and runs"| node_linux_app
node_linux_app -->|"uses interface"| node_linux_app_header
node_linux_app -->|"uses registry"| node_linux_plugins
node_windows_main -->|"creates"| node_flutter_window
node_flutter_window -->|"inherits from"| node_win32_window_header
node_win32_window -->|"implements"| node_win32_window_header

click node_entry "https://github.com/yosefsala7/elara_space_app/blob/main/lib/main.dart"
click node_theme "https://github.com/yosefsala7/elara_space_app/blob/main/lib/core/app_theme.dart"
click node_colors "https://github.com/yosefsala7/elara_space_app/blob/main/lib/core/app_colors.dart"
click node_background "https://github.com/yosefsala7/elara_space_app/blob/main/lib/core/components/background.dart"
click node_branding "https://github.com/yosefsala7/elara_space_app/blob/main/lib/core/components/branding.dart"
click node_onboarding_screen "https://github.com/yosefsala7/elara_space_app/blob/main/lib/features/onboarding/presenter/screens/onboarding_screen.dart"
click node_onboarding_model "https://github.com/yosefsala7/elara_space_app/blob/main/lib/features/onboarding/data/models/onboarding_model.dart"
click node_onboarding_animation "https://github.com/yosefsala7/elara_space_app/blob/main/lib/features/onboarding/presenter/widgets/onboarding_animation.dart"
click node_onboarding_content "https://github.com/yosefsala7/elara_space_app/blob/main/lib/features/onboarding/presenter/widgets/onboarding_content.dart"
click node_onboarding_controller "https://github.com/yosefsala7/elara_space_app/blob/main/lib/features/onboarding/presenter/widgets/onbording_controller.dart"
click node_page_indicator "https://github.com/yosefsala7/elara_space_app/blob/main/lib/features/onboarding/presenter/widgets/page_indictor.dart"
click node_assets "https://github.com/yosefsala7/elara_space_app/tree/main/assets"
click node_ios_shell "https://github.com/yosefsala7/elara_space_app/blob/main/ios/Runner/AppDelegate.swift"
click node_linux_main "https://github.com/yosefsala7/elara_space_app/blob/main/linux/runner/main.cc"
click node_linux_app "https://github.com/yosefsala7/elara_space_app/blob/main/linux/runner/my_application.cc"
click node_linux_app_header "https://github.com/yosefsala7/elara_space_app/blob/main/linux/runner/my_application.h"
click node_linux_plugins "https://github.com/yosefsala7/elara_space_app/blob/main/linux/flutter/generated_plugin_registrant.h"
click node_windows_main "https://github.com/yosefsala7/elara_space_app/blob/main/windows/runner/main.cpp"
click node_flutter_window "https://github.com/yosefsala7/elara_space_app/blob/main/windows/runner/flutter_window.h"
click node_win32_window "https://github.com/yosefsala7/elara_space_app/blob/main/windows/runner/win32_window.cpp"
click node_win32_window_header "https://github.com/yosefsala7/elara_space_app/blob/main/windows/runner/win32_window.h"
click node_windows_plugins "https://github.com/yosefsala7/elara_space_app/blob/main/windows/flutter/generated_plugin_registrant.h"
click node_mac_plugins "https://github.com/yosefsala7/elara_space_app/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_theme,node_colors,node_background,node_branding,node_assets,node_user toneBlue
class node_onboarding_screen,node_onboarding_model,node_onboarding_animation,node_onboarding_content,node_onboarding_controller,node_page_indicator toneAmber
class node_ios_shell,node_linux_main,node_linux_app,node_linux_app_header,node_linux_plugins,node_windows_main,node_flutter_window,node_win32_window,node_win32_window_header,node_windows_plugins,node_mac_plugins toneMint
```

## Components

### Flutter application

- [Flutter entry](https://github.com/yosefsala7/elara_space_app/blob/main/lib/main.dart): `lib/main.dart`
- [App theme](https://github.com/yosefsala7/elara_space_app/blob/main/lib/core/app_theme.dart): `lib/core/app_theme.dart`
- [App colors](https://github.com/yosefsala7/elara_space_app/blob/main/lib/core/app_colors.dart): `lib/core/app_colors.dart`
- [Shared background](https://github.com/yosefsala7/elara_space_app/blob/main/lib/core/components/background.dart): `lib/core/components/background.dart`
- [Branding](https://github.com/yosefsala7/elara_space_app/blob/main/lib/core/components/branding.dart): `lib/core/components/branding.dart`
- [App assets](https://github.com/yosefsala7/elara_space_app/tree/main/assets): `assets`

### Onboarding feature

- [Onboarding screen](https://github.com/yosefsala7/elara_space_app/blob/main/lib/features/onboarding/presenter/screens/onboarding_screen.dart): `lib/features/onboarding/presenter/screens/onboarding_screen.dart`
- [Onboarding model](https://github.com/yosefsala7/elara_space_app/blob/main/lib/features/onboarding/data/models/onboarding_model.dart): `lib/features/onboarding/data/models/onboarding_model.dart`
- [Onboarding animation](https://github.com/yosefsala7/elara_space_app/blob/main/lib/features/onboarding/presenter/widgets/onboarding_animation.dart): `lib/features/onboarding/presenter/widgets/onboarding_animation.dart`
- [Onboarding content](https://github.com/yosefsala7/elara_space_app/blob/main/lib/features/onboarding/presenter/widgets/onboarding_content.dart): `lib/features/onboarding/presenter/widgets/onboarding_content.dart`
- [Onboarding controller](https://github.com/yosefsala7/elara_space_app/blob/main/lib/features/onboarding/presenter/widgets/onbording_controller.dart): `lib/features/onboarding/presenter/widgets/onbording_controller.dart`
- [Page indicator](https://github.com/yosefsala7/elara_space_app/blob/main/lib/features/onboarding/presenter/widgets/page_indictor.dart): `lib/features/onboarding/presenter/widgets/page_indictor.dart`

### Platform shells

- [iOS shell](https://github.com/yosefsala7/elara_space_app/blob/main/ios/Runner/AppDelegate.swift): `ios/Runner/AppDelegate.swift`
- [Linux launcher](https://github.com/yosefsala7/elara_space_app/blob/main/linux/runner/main.cc): `linux/runner/main.cc`
- [Linux application](https://github.com/yosefsala7/elara_space_app/blob/main/linux/runner/my_application.cc): `linux/runner/my_application.cc`
- [Linux app interface](https://github.com/yosefsala7/elara_space_app/blob/main/linux/runner/my_application.h): `linux/runner/my_application.h`
- [Linux plugin registry](https://github.com/yosefsala7/elara_space_app/blob/main/linux/flutter/generated_plugin_registrant.h): `linux/flutter/generated_plugin_registrant.h`
- [Windows launcher](https://github.com/yosefsala7/elara_space_app/blob/main/windows/runner/main.cpp): `windows/runner/main.cpp`
- [Flutter window host](https://github.com/yosefsala7/elara_space_app/blob/main/windows/runner/flutter_window.h): `windows/runner/flutter_window.h`
- [Win32 window](https://github.com/yosefsala7/elara_space_app/blob/main/windows/runner/win32_window.cpp): `windows/runner/win32_window.cpp`
- [Win32 window interface](https://github.com/yosefsala7/elara_space_app/blob/main/windows/runner/win32_window.h): `windows/runner/win32_window.h`
- [Windows plugin registry](https://github.com/yosefsala7/elara_space_app/blob/main/windows/flutter/generated_plugin_registrant.h): `windows/flutter/generated_plugin_registrant.h`
- [macOS plugin registry](https://github.com/yosefsala7/elara_space_app/blob/main/macos/Flutter/GeneratedPluginRegistrant.swift): `macos/Flutter/GeneratedPluginRegistrant.swift`

### Other components

- **App user**

## Connections

- Linux launcher → Linux application: creates and runs (evidence: `linux/runner/main.cc`)
- Linux application → Linux app interface: uses interface (evidence: `linux/runner/my_application.cc`)
- Linux application → Linux plugin registry: uses registry (evidence: `linux/runner/my_application.cc`)
- Windows launcher → Flutter window host: creates (evidence: `windows/runner/main.cpp`)
- Flutter window host → Win32 window interface: inherits from (evidence: `windows/runner/flutter_window.h`)
- Win32 window → Win32 window interface: implements (evidence: `windows/runner/win32_window.cpp`)
