# allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil architecture

> Architecture diagram of the GitHub repository allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil
- Repository: https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil

## Overview

The tree suggests a Flutter application for maps, reports, zones, rankings, statistics, and user accounts, but the README only describes a starter project and no Dart source excerpts were provided. The graph preserves the named app modules while marking their connections to the entry point as unverified; native runner relationships are shown only where the excerpts establish them.

Main entry points: [`lib/main.dart`](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/main.dart) (App entry), [`windows/runner/flutter_window.h`](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/windows/runner/flutter_window.h) (Windows Flutter window), [`linux/runner/my_application.h`](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/linux/runner/my_application.h) (Linux application), [`windows/runner/main.cpp`](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/windows/runner/main.cpp) (Windows startup)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Flutter app"]
  node_entry["App entry<br/>[main.dart]"]
end

subgraph group_features["User features"]
  node_home["Home<br/>[home_page.dart]"]
  node_login["Login<br/>[login_page.dart]"]
  node_register["Registration<br/>[register_page.dart]"]
  node_map["Map<br/>[map_page.dart]"]
  node_report["Reporting<br/>[report_page.dart]"]
  node_history["History<br/>[history_page.dart]"]
  node_ranking["Rankings<br/>[ranking_page.dart]"]
  node_zone_ranking["Zone rankings"]
  node_stats["Statistics<br/>[stats_page.dart]"]
  node_profile["Profile<br/>[profile_page.dart]"]
  node_settings["Settings<br/>[settings_page.dart]"]
  node_splash["Splash<br/>[splash_page.dart]"]
end

subgraph group_shared["Shared services"]
  node_api["API service<br/>[api_service.dart]"]
  node_zone_utils["Zone utilities<br/>[zone_utils.dart]"]
  node_widgets["UI controls<br/>[custom_button.dart]"]
  node_textfield["Text field"]
end

subgraph group_runners["Platform runners"]
  node_windows_main["Windows startup<br/>[main.cpp]"]
  node_windows_flutter["Windows Flutter window<br/>[flutter_window.h]"]
  node_windows_base["Windows window base<br/>[win32_window.h]"]
  node_linux_main["Linux startup<br/>[main.cc]"]
  node_linux_app["Linux application<br/>[my_application.h]"]
  node_linux_plugins["Linux plugin registration"]
  node_windows_plugins["Windows plugin registration"]
  node_ios_app["iOS application<br/>[AppDelegate.swift]"]
  node_macos_plugins["macOS plugin registration"]
end

node_user(("User"))

node_user -.->|"uses"| node_entry
node_entry -.->|"routes to"| node_home
node_entry -.->|"routes to"| node_login
node_entry -.->|"routes to"| node_register
node_entry -.->|"routes to"| node_map
node_entry -.->|"routes to"| node_report
node_entry -.->|"routes to"| node_history
node_entry -.->|"routes to"| node_ranking
node_entry -.->|"routes to"| node_zone_ranking
node_entry -.->|"routes to"| node_stats
node_entry -.->|"routes to"| node_profile
node_entry -.->|"routes to"| node_settings
node_entry -.->|"routes to"| node_splash
node_windows_main -->|"creates"| node_windows_flutter
node_windows_flutter -->|"extends"| node_windows_base
node_linux_main -->|"creates"| node_linux_app
node_linux_app -->|"registers plugins"| node_linux_plugins
node_ios_app -->|"registers plugins"| node_macos_plugins

click node_entry "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/main.dart"
click node_home "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/home_page.dart"
click node_login "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/login_page.dart"
click node_register "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/register_page.dart"
click node_map "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/map_page.dart"
click node_report "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/report_page.dart"
click node_history "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/history_page.dart"
click node_ranking "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/ranking_page.dart"
click node_zone_ranking "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/zone_ranking_page.dart"
click node_stats "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/stats_page.dart"
click node_profile "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/profile_page.dart"
click node_settings "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/settings_page.dart"
click node_splash "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/splash_page.dart"
click node_api "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/api_service.dart"
click node_zone_utils "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/zone_utils.dart"
click node_widgets "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/widgets/custom_button.dart"
click node_textfield "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/widgets/custom_textfield.dart"
click node_windows_main "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/windows/runner/main.cpp"
click node_windows_flutter "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/windows/runner/flutter_window.h"
click node_windows_base "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/windows/runner/win32_window.h"
click node_linux_main "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/linux/runner/main.cc"
click node_linux_app "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/linux/runner/my_application.h"
click node_linux_plugins "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/linux/flutter/generated_plugin_registrant.cc"
click node_windows_plugins "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/windows/flutter/generated_plugin_registrant.cc"
click node_ios_app "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/ios/Runner/AppDelegate.swift"
click node_macos_plugins "https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/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_user toneBlue
class node_home,node_login,node_register,node_map,node_report,node_history,node_ranking,node_zone_ranking,node_stats,node_profile,node_settings,node_splash toneAmber
class node_api,node_zone_utils,node_widgets,node_textfield toneMint
class node_windows_main,node_windows_flutter,node_windows_base,node_linux_main,node_linux_app,node_linux_plugins,node_windows_plugins,node_ios_app,node_macos_plugins toneRose
```

## Components

### Flutter app

- [App entry](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/main.dart): `lib/main.dart`

### User features

- [Home](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/home_page.dart): `lib/pages/home_page.dart`
- [Login](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/login_page.dart): `lib/pages/login_page.dart`
- [Registration](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/register_page.dart): `lib/pages/register_page.dart`
- [Map](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/map_page.dart): `lib/pages/map_page.dart`
- [Reporting](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/report_page.dart): `lib/pages/report_page.dart`
- [History](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/history_page.dart): `lib/pages/history_page.dart`
- [Rankings](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/ranking_page.dart): `lib/pages/ranking_page.dart`
- [Zone rankings](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/zone_ranking_page.dart): `lib/pages/zone_ranking_page.dart`
- [Statistics](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/stats_page.dart): `lib/pages/stats_page.dart`
- [Profile](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/profile_page.dart): `lib/pages/profile_page.dart`
- [Settings](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/settings_page.dart): `lib/pages/settings_page.dart`
- [Splash](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/splash_page.dart): `lib/pages/splash_page.dart`

### Shared services

- [API service](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/api_service.dart): `lib/pages/api_service.dart`
- [Zone utilities](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/pages/zone_utils.dart): `lib/pages/zone_utils.dart`
- [UI controls](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/widgets/custom_button.dart): `lib/widgets/custom_button.dart`
- [Text field](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/lib/widgets/custom_textfield.dart): `lib/widgets/custom_textfield.dart`

### Platform runners

- [Windows startup](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/windows/runner/main.cpp): `windows/runner/main.cpp`
- [Windows Flutter window](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/windows/runner/flutter_window.h): `windows/runner/flutter_window.h`
- [Windows window base](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/windows/runner/win32_window.h): `windows/runner/win32_window.h`
- [Linux startup](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/linux/runner/main.cc): `linux/runner/main.cc`
- [Linux application](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/linux/runner/my_application.h): `linux/runner/my_application.h`
- [Linux plugin registration](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/linux/flutter/generated_plugin_registrant.cc): `linux/flutter/generated_plugin_registrant.cc`
- [Windows plugin registration](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/windows/flutter/generated_plugin_registrant.cc): `windows/flutter/generated_plugin_registrant.cc`
- [iOS application](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/ios/Runner/AppDelegate.swift): `ios/Runner/AppDelegate.swift`
- [macOS plugin registration](https://github.com/allv89/ecomap-plataforma-de-geolocalizaci-n-y-monitoreo-de-acumulaci-n-de-basura-m-vil/blob/main/macos/Flutter/GeneratedPluginRegistrant.swift): `macos/Flutter/GeneratedPluginRegistrant.swift`

### Other components

- **User**

## Connections

- User → App entry: uses
- App entry → Home: routes to
- App entry → Login: routes to
- App entry → Registration: routes to
- App entry → Map: routes to
- App entry → Reporting: routes to
- App entry → History: routes to
- App entry → Rankings: routes to
- App entry → Zone rankings: routes to
- App entry → Statistics: routes to
- App entry → Profile: routes to
- App entry → Settings: routes to
- App entry → Splash: routes to
- Windows startup → Windows Flutter window: creates (evidence: `windows/runner/main.cpp`)
- Windows Flutter window → Windows window base: extends (evidence: `windows/runner/flutter_window.h`)
- Linux startup → Linux application: creates (evidence: `linux/runner/main.cc`)
- Linux application → Linux plugin registration: registers plugins
- iOS application → macOS plugin registration: registers plugins (evidence: `ios/Runner/AppDelegate.swift`)
