# meco12102002/latest-very-latest architecture

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

- Interactive diagram: https://gitdiagram.com/meco12102002/latest-very-latest
- Repository: https://github.com/meco12102002/latest-very-latest

## Overview

This is a Flutter app for hairstyle-related experiences, with screens and assets for authentication, haircut discovery, bookings, profiles, notifications, and AR styling. The README is only the default Flutter-project introduction, and no Dart application source was excerpted; the workflow and screen relationships below are therefore tentative, shown with dashed edges and no evidence path.

Main entry points: [`lib/ui/pages/views/dashboard.dart`](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/dashboard.dart) (Dashboard), [`lib/ui/pages/auth/login_register.dart`](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/auth/login_register.dart) (Login and register), [`lib/ui/pages/views/home.dart`](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/home.dart) (Home), [`lib/ui/pages/views/recommended_screen.dart`](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/recommended_screen.dart) (Recommendations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App experience"]
  node_entry["App entry<br/>[main.dart]"]
  node_dashboard["Dashboard<br/>[dashboard.dart]"]
  node_home["Home<br/>[home.dart]"]
  node_bookings["Bookings<br/>[bookings.dart]"]
  node_notifications["Notifications<br/>[notifications.dart]"]
  node_profile["Profile<br/>[profile.dart]"]
end

subgraph group_identity["Authentication"]
  node_auth_flow["Login and register"]
  node_login["Login screen<br/>[login_page.dart]"]
  node_register["Registration screen"]
  node_auth_service["Auth service<br/>[auth_service.dart]"]
  node_auth_module["Auth module<br/>[auth.dart]"]
end

subgraph group_discovery["Haircut discovery"]
  node_filter_data["Filter catalog<br/>[filter_data.dart]"]
  node_filter_model["Filter model<br/>[filters.dart]"]
  node_recommendations["Recommendations"]
  node_recommended_cuts["Recommended haircuts"]
end

subgraph group_styling["AR styling"]
  node_ar_screen["AR styling screen<br/>[ar_home_page.dart]"]
  node_filter_assets["Hairstyle filters"]
  node_pingpong["Ping-pong AR asset"]
end

node_user(("User"))

node_user -.->|"opens"| node_entry
node_entry -.->|"starts auth"| node_auth_flow
node_auth_flow -.->|"offers login"| node_login
node_auth_flow -.->|"offers registration"| node_register
node_login -.->|"uses auth"| node_auth_service
node_register -.->|"uses auth"| node_auth_service
node_auth_service -.->|"delegates auth"| node_auth_module
node_auth_flow -.->|"continues to"| node_dashboard
node_dashboard -.->|"shows home"| node_home
node_dashboard -.->|"opens"| node_bookings
node_dashboard -.->|"opens"| node_notifications
node_dashboard -.->|"opens"| node_profile
node_home -.->|"opens"| node_recommendations
node_recommendations -.->|"shows cuts"| node_recommended_cuts
node_recommendations -.->|"uses catalog"| node_filter_data
node_filter_data -.->|"uses model"| node_filter_model
node_home -.->|"opens styling"| node_ar_screen
node_ar_screen -.->|"uses filters"| node_filter_assets
node_ar_screen -.->|"loads experience"| node_pingpong

click node_entry "https://github.com/meco12102002/latest-very-latest/blob/master/lib/main.dart"
click node_dashboard "https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/dashboard.dart"
click node_home "https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/home.dart"
click node_bookings "https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/bookings.dart"
click node_notifications "https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/notifications.dart"
click node_profile "https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/profile.dart"
click node_auth_flow "https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/auth/login_register.dart"
click node_login "https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/auth/login_page.dart"
click node_register "https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/auth/register_page_last_step.dart"
click node_auth_service "https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/auth/auth_service.dart"
click node_auth_module "https://github.com/meco12102002/latest-very-latest/blob/master/lib/auth/auth.dart"
click node_filter_data "https://github.com/meco12102002/latest-very-latest/blob/master/lib/data/filter_data.dart"
click node_filter_model "https://github.com/meco12102002/latest-very-latest/blob/master/lib/models/filters.dart"
click node_recommendations "https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/recommended_screen.dart"
click node_recommended_cuts "https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/recommended_haircuts_screen.dart"
click node_ar_screen "https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/ar_home_page.dart"
click node_filter_assets "https://github.com/meco12102002/latest-very-latest/tree/master/assets/filters"
click node_pingpong "https://github.com/meco12102002/latest-very-latest/tree/master/assets/filters/Ping%20Pong%20Minigame"

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_dashboard,node_home,node_bookings,node_notifications,node_profile,node_user toneBlue
class node_auth_flow,node_login,node_register,node_auth_service,node_auth_module toneAmber
class node_filter_data,node_filter_model,node_recommendations,node_recommended_cuts toneMint
class node_ar_screen,node_filter_assets,node_pingpong toneRose
```

## Components

### App experience

- [App entry](https://github.com/meco12102002/latest-very-latest/blob/master/lib/main.dart): `lib/main.dart`
- [Dashboard](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/dashboard.dart): `lib/ui/pages/views/dashboard.dart`
- [Home](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/home.dart): `lib/ui/pages/views/home.dart`
- [Bookings](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/bookings.dart): `lib/ui/pages/views/bookings.dart`
- [Notifications](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/notifications.dart): `lib/ui/pages/views/notifications.dart`
- [Profile](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/profile.dart): `lib/ui/pages/views/profile.dart`

### Authentication

- [Login and register](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/auth/login_register.dart): `lib/ui/pages/auth/login_register.dart`
- [Login screen](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/auth/login_page.dart): `lib/ui/pages/auth/login_page.dart`
- [Registration screen](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/auth/register_page_last_step.dart): `lib/ui/pages/auth/register_page_last_step.dart`
- [Auth service](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/auth/auth_service.dart): `lib/ui/pages/auth/auth_service.dart`
- [Auth module](https://github.com/meco12102002/latest-very-latest/blob/master/lib/auth/auth.dart): `lib/auth/auth.dart`

### Haircut discovery

- [Filter catalog](https://github.com/meco12102002/latest-very-latest/blob/master/lib/data/filter_data.dart): `lib/data/filter_data.dart`
- [Filter model](https://github.com/meco12102002/latest-very-latest/blob/master/lib/models/filters.dart): `lib/models/filters.dart`
- [Recommendations](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/recommended_screen.dart): `lib/ui/pages/views/recommended_screen.dart`
- [Recommended haircuts](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/recommended_haircuts_screen.dart): `lib/ui/pages/views/recommended_haircuts_screen.dart`

### AR styling

- [AR styling screen](https://github.com/meco12102002/latest-very-latest/blob/master/lib/ui/pages/views/ar_home_page.dart): `lib/ui/pages/views/ar_home_page.dart`
- [Hairstyle filters](https://github.com/meco12102002/latest-very-latest/tree/master/assets/filters): `assets/filters`
- [Ping-pong AR asset](https://github.com/meco12102002/latest-very-latest/tree/master/assets/filters/Ping%20Pong%20Minigame): `assets/filters/Ping Pong Minigame`

### Other components

- **User**

## Connections

- User → App entry: opens
- App entry → Login and register: starts auth
- Login and register → Login screen: offers login
- Login and register → Registration screen: offers registration
- Login screen → Auth service: uses auth
- Registration screen → Auth service: uses auth
- Auth service → Auth module: delegates auth
- Login and register → Dashboard: continues to
- Dashboard → Home: shows home
- Dashboard → Bookings: opens
- Dashboard → Notifications: opens
- Dashboard → Profile: opens
- Home → Recommendations: opens
- Recommendations → Recommended haircuts: shows cuts
- Recommendations → Filter catalog: uses catalog
- Filter catalog → Filter model: uses model
- Home → AR styling screen: opens styling
- AR styling screen → Hairstyle filters: uses filters
- AR styling screen → Ping-pong AR asset: loads experience
