# selawi7/evgo-flutter architecture

> Architecture diagram of the GitHub repository selawi7/evgo-flutter, 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/selawi7/evgo-flutter
- Repository: https://github.com/selawi7/evgo-flutter

## Overview

login101 is a Flutter application whose Dart sources indicate authentication, profile, weather, maps, stations, vehicles, and rewards features. The README only identifies it as a starter Flutter project, and no Dart source was excerpted, so the feature nodes are based on the file tree; their runtime calls and navigation cannot be verified. Native platform runners host the Flutter app, while platform-specific plugin registration is visible for Firebase on the sampled Windows and macOS files.

Main entry points: [`windows/runner/main.cpp`](https://github.com/selawi7/evgo-flutter/blob/main/windows/runner/main.cpp) (Windows launcher), [`linux/runner/main.cc`](https://github.com/selawi7/evgo-flutter/blob/main/linux/runner/main.cc) (Linux launcher), [`ios/Runner/AppDelegate.swift`](https://github.com/selawi7/evgo-flutter/blob/main/ios/Runner/AppDelegate.swift) (iOS host), [`lib/main.dart`](https://github.com/selawi7/evgo-flutter/blob/main/lib/main.dart) (Flutter entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App entry and navigation"]
  node_entry["Flutter entry<br/>[main.dart]"]
  node_home["Home<br/>[Home.dart]"]
  node_splash["Splash page<br/>[SplashPage.dart]"]
end

subgraph group_identity["Authentication and profile"]
  node_login["Login page<br/>[login_page.dart]"]
  node_signup["Sign up<br/>[sign_up_page.dart]"]
  node_auth["Auth service<br/>[auth_service.dart]"]
  node_profile["Profile<br/>[Profile.dart]"]
end

subgraph group_features["User-facing features"]
  node_weather["Weather<br/>[Weather.dart]"]
  node_maps["Maps<br/>[maps.dart]"]
  node_stations["Stations"]
  node_vehicles["Vehicles"]
  node_chargers["Charging<br/>[Ch_Port.dart]"]
  node_api["API service<br/>[api_service.dart]"]
end

subgraph group_domain["Domain and platform"]
  node_user_model["User model<br/>[user.dart]"]
  node_session_model["Session model<br/>[session.dart]"]
  node_reward_model["Reward model<br/>[reward.dart]"]
  node_station_model["Station model<br/>[station.dart]"]
  node_vehicle_model["Vehicle model<br/>[vehicle.dart]"]
  node_weather_key["Weather API key"]
  node_windows_host["Windows host<br/>[flutter_window.cpp]"]
  node_windows_window["Win32 window<br/>[win32_window.cpp]"]
  node_windows_main["Windows launcher<br/>[main.cpp]"]
  node_linux_host["Linux host<br/>[my_application.cc]"]
  node_linux_main["Linux launcher<br/>[main.cc]"]
  node_ios_host["iOS host<br/>[AppDelegate.swift]"]
  node_macos_plugins["macOS plugins"]
  node_windows_plugins["Windows plugins"]
  node_linux_plugins["Linux plugin declarations"]
end

node_user(("App user"))

node_user -.->|"opens"| node_entry
node_windows_main -->|"creates"| node_windows_host
node_linux_main -->|"runs"| node_linux_host
node_ios_host -.->|"registers plugins"| node_macos_plugins

click node_entry "https://github.com/selawi7/evgo-flutter/blob/main/lib/main.dart"
click node_home "https://github.com/selawi7/evgo-flutter/blob/main/lib/Home.dart"
click node_splash "https://github.com/selawi7/evgo-flutter/blob/main/lib/SplashPage.dart"
click node_login "https://github.com/selawi7/evgo-flutter/blob/main/lib/login_page.dart"
click node_signup "https://github.com/selawi7/evgo-flutter/blob/main/lib/sign_up_page.dart"
click node_auth "https://github.com/selawi7/evgo-flutter/blob/main/lib/services/auth_service.dart"
click node_profile "https://github.com/selawi7/evgo-flutter/blob/main/lib/Profile.dart"
click node_weather "https://github.com/selawi7/evgo-flutter/blob/main/lib/Weather.dart"
click node_maps "https://github.com/selawi7/evgo-flutter/blob/main/lib/maps.dart"
click node_stations "https://github.com/selawi7/evgo-flutter/blob/main/lib/screens/stations_screen.dart"
click node_vehicles "https://github.com/selawi7/evgo-flutter/blob/main/lib/screens/vehicles_screen.dart"
click node_chargers "https://github.com/selawi7/evgo-flutter/blob/main/lib/Ch_Port.dart"
click node_api "https://github.com/selawi7/evgo-flutter/blob/main/lib/services/api_service.dart"
click node_user_model "https://github.com/selawi7/evgo-flutter/blob/main/lib/models/user.dart"
click node_session_model "https://github.com/selawi7/evgo-flutter/blob/main/lib/models/session.dart"
click node_reward_model "https://github.com/selawi7/evgo-flutter/blob/main/lib/models/reward.dart"
click node_station_model "https://github.com/selawi7/evgo-flutter/blob/main/lib/models/station.dart"
click node_vehicle_model "https://github.com/selawi7/evgo-flutter/blob/main/lib/models/vehicle.dart"
click node_weather_key "https://github.com/selawi7/evgo-flutter/blob/main/lib/weather_api_key.dart"
click node_windows_host "https://github.com/selawi7/evgo-flutter/blob/main/windows/runner/flutter_window.cpp"
click node_windows_window "https://github.com/selawi7/evgo-flutter/blob/main/windows/runner/win32_window.cpp"
click node_windows_main "https://github.com/selawi7/evgo-flutter/blob/main/windows/runner/main.cpp"
click node_linux_host "https://github.com/selawi7/evgo-flutter/blob/main/linux/runner/my_application.cc"
click node_linux_main "https://github.com/selawi7/evgo-flutter/blob/main/linux/runner/main.cc"
click node_ios_host "https://github.com/selawi7/evgo-flutter/blob/main/ios/Runner/AppDelegate.swift"
click node_macos_plugins "https://github.com/selawi7/evgo-flutter/blob/main/macos/Flutter/GeneratedPluginRegistrant.swift"
click node_windows_plugins "https://github.com/selawi7/evgo-flutter/blob/main/windows/flutter/generated_plugin_registrant.cc"
click node_linux_plugins "https://github.com/selawi7/evgo-flutter/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_entry,node_home,node_splash,node_user toneBlue
class node_login,node_signup,node_auth,node_profile toneAmber
class node_weather,node_maps,node_stations,node_vehicles,node_chargers,node_api toneMint
class node_user_model,node_session_model,node_reward_model,node_station_model,node_vehicle_model,node_weather_key,node_windows_host,node_windows_window,node_windows_main,node_linux_host,node_linux_main,node_ios_host,node_macos_plugins,node_windows_plugins,node_linux_plugins toneRose
```

## Components

### App entry and navigation

- [Flutter entry](https://github.com/selawi7/evgo-flutter/blob/main/lib/main.dart): `lib/main.dart`
- [Home](https://github.com/selawi7/evgo-flutter/blob/main/lib/Home.dart): `lib/Home.dart`
- [Splash page](https://github.com/selawi7/evgo-flutter/blob/main/lib/SplashPage.dart): `lib/SplashPage.dart`

### Authentication and profile

- [Login page](https://github.com/selawi7/evgo-flutter/blob/main/lib/login_page.dart): `lib/login_page.dart`
- [Sign up](https://github.com/selawi7/evgo-flutter/blob/main/lib/sign_up_page.dart): `lib/sign_up_page.dart`
- [Auth service](https://github.com/selawi7/evgo-flutter/blob/main/lib/services/auth_service.dart): `lib/services/auth_service.dart`
- [Profile](https://github.com/selawi7/evgo-flutter/blob/main/lib/Profile.dart): `lib/Profile.dart`

### User-facing features

- [Weather](https://github.com/selawi7/evgo-flutter/blob/main/lib/Weather.dart): `lib/Weather.dart`
- [Maps](https://github.com/selawi7/evgo-flutter/blob/main/lib/maps.dart): `lib/maps.dart`
- [Stations](https://github.com/selawi7/evgo-flutter/blob/main/lib/screens/stations_screen.dart): `lib/screens/stations_screen.dart`
- [Vehicles](https://github.com/selawi7/evgo-flutter/blob/main/lib/screens/vehicles_screen.dart): `lib/screens/vehicles_screen.dart`
- [Charging](https://github.com/selawi7/evgo-flutter/blob/main/lib/Ch_Port.dart): `lib/Ch_Port.dart`
- [API service](https://github.com/selawi7/evgo-flutter/blob/main/lib/services/api_service.dart): `lib/services/api_service.dart`

### Domain and platform

- [User model](https://github.com/selawi7/evgo-flutter/blob/main/lib/models/user.dart): `lib/models/user.dart`
- [Session model](https://github.com/selawi7/evgo-flutter/blob/main/lib/models/session.dart): `lib/models/session.dart`
- [Reward model](https://github.com/selawi7/evgo-flutter/blob/main/lib/models/reward.dart): `lib/models/reward.dart`
- [Station model](https://github.com/selawi7/evgo-flutter/blob/main/lib/models/station.dart): `lib/models/station.dart`
- [Vehicle model](https://github.com/selawi7/evgo-flutter/blob/main/lib/models/vehicle.dart): `lib/models/vehicle.dart`
- [Weather API key](https://github.com/selawi7/evgo-flutter/blob/main/lib/weather_api_key.dart): `lib/weather_api_key.dart`
- [Windows host](https://github.com/selawi7/evgo-flutter/blob/main/windows/runner/flutter_window.cpp): `windows/runner/flutter_window.cpp`
- [Win32 window](https://github.com/selawi7/evgo-flutter/blob/main/windows/runner/win32_window.cpp): `windows/runner/win32_window.cpp`
- [Windows launcher](https://github.com/selawi7/evgo-flutter/blob/main/windows/runner/main.cpp): `windows/runner/main.cpp`
- [Linux host](https://github.com/selawi7/evgo-flutter/blob/main/linux/runner/my_application.cc): `linux/runner/my_application.cc`
- [Linux launcher](https://github.com/selawi7/evgo-flutter/blob/main/linux/runner/main.cc): `linux/runner/main.cc`
- [iOS host](https://github.com/selawi7/evgo-flutter/blob/main/ios/Runner/AppDelegate.swift): `ios/Runner/AppDelegate.swift`
- [macOS plugins](https://github.com/selawi7/evgo-flutter/blob/main/macos/Flutter/GeneratedPluginRegistrant.swift): `macos/Flutter/GeneratedPluginRegistrant.swift`
- [Windows plugins](https://github.com/selawi7/evgo-flutter/blob/main/windows/flutter/generated_plugin_registrant.cc): `windows/flutter/generated_plugin_registrant.cc`
- [Linux plugin declarations](https://github.com/selawi7/evgo-flutter/blob/main/linux/flutter/generated_plugin_registrant.h): `linux/flutter/generated_plugin_registrant.h`

### Other components

- **App user**

## Connections

- App user → Flutter entry: opens
- Windows launcher → Windows host: creates (evidence: `windows/runner/main.cpp`)
- Linux launcher → Linux host: runs (evidence: `linux/runner/main.cc`)
- iOS host → macOS plugins: registers plugins (evidence: `ios/Runner/AppDelegate.swift`)
