# vijayveerla24-ship-it/bmi-fit architecture

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

- Interactive diagram: https://gitdiagram.com/vijayveerla24-ship-it/bmi-fit
- Repository: https://github.com/vijayveerla24-ship-it/bmi-fit

## Overview

This is a Flutter BMI-calculator starter project, but the README documents no calculator-specific features and the Dart entrypoint was not excerpted. The graph therefore keeps the product workflow at the app boundary and shows only native-host relationships visible in sampled runner files. Platform runner details are hosting infrastructure, not evidence of distinct BMI domain stages.

Main entry points: [`windows/runner/flutter_window.h`](https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/windows/runner/flutter_window.h) (Flutter window), [`windows/runner/main.cpp`](https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/windows/runner/main.cpp) (Windows entrypoint), [`linux/runner/main.cc`](https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/linux/runner/main.cc) (Linux entrypoint), [`lib/main.dart`](https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/lib/main.dart) (BMI calculator app)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_product["BMI app"]
  node_bmi["BMI calculator app<br/>[main.dart]"]
end

subgraph group_hosts["Platform hosts"]
  node_win_entry["Windows entrypoint<br/>[main.cpp]"]
  node_flutter_window["Flutter window<br/>[flutter_window.h]"]
  node_win_window["Win32 window<br/>[win32_window.cpp]"]
  node_linux_entry["Linux entrypoint<br/>[main.cc]"]
  node_linux_app["Linux application<br/>[my_application.cc]"]
  node_ios_host["iOS host<br/>[AppDelegate.swift]"]
  node_mac_host["macOS host"]
end

node_user(("App user"))

node_user -.->|"uses"| node_bmi
node_win_entry -->|"creates"| node_flutter_window
node_flutter_window -->|"extends"| node_win_window
node_linux_entry -->|"creates"| node_linux_app

click node_bmi "https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/lib/main.dart"
click node_win_entry "https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/windows/runner/main.cpp"
click node_flutter_window "https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/windows/runner/flutter_window.h"
click node_win_window "https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/windows/runner/win32_window.cpp"
click node_linux_entry "https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/linux/runner/main.cc"
click node_linux_app "https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/linux/runner/my_application.cc"
click node_ios_host "https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/ios/Runner/AppDelegate.swift"
click node_mac_host "https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/macos/Runner/MainFlutterWindow.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_bmi,node_user toneBlue
class node_win_entry,node_flutter_window,node_win_window,node_linux_entry,node_linux_app,node_ios_host,node_mac_host toneAmber
```

## Components

### BMI app

- [BMI calculator app](https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/lib/main.dart): `lib/main.dart`

### Platform hosts

- [Windows entrypoint](https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/windows/runner/main.cpp): `windows/runner/main.cpp`
- [Flutter window](https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/windows/runner/flutter_window.h): `windows/runner/flutter_window.h`
- [Win32 window](https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/windows/runner/win32_window.cpp): `windows/runner/win32_window.cpp`
- [Linux entrypoint](https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/linux/runner/main.cc): `linux/runner/main.cc`
- [Linux application](https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/linux/runner/my_application.cc): `linux/runner/my_application.cc`
- [iOS host](https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/ios/Runner/AppDelegate.swift): `ios/Runner/AppDelegate.swift`
- [macOS host](https://github.com/vijayveerla24-ship-it/bmi-fit/blob/main/macos/Runner/MainFlutterWindow.swift): `macos/Runner/MainFlutterWindow.swift`

### Other components

- **App user**

## Connections

- App user → BMI calculator app: uses
- Windows entrypoint → Flutter window: creates (evidence: `windows/runner/main.cpp`)
- Flutter window → Win32 window: extends (evidence: `windows/runner/flutter_window.h`)
- Linux entrypoint → Linux application: creates (evidence: `linux/runner/main.cc`)
