# ahmedreda-662/graduation_project architecture

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

- Interactive diagram: https://gitdiagram.com/ahmedreda-662/graduation_project
- Repository: https://github.com/ahmedreda-662/graduation_project

## Overview

EduFocus is a Flutter educational-learning app. Its apparent user workflow spans onboarding and authentication, a home area with lessons and learning activities, then profile and progress views. The tree also shows shared session and theme code. The README provides no feature descriptions, and the excerpts contain only desktop runner scaffolding—not Dart feature implementations—so the workflow and feature boundaries below are based on filenames; no unsupported call relationships are asserted.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["App entry"]
  node_app_entry["Flutter entry<br/>[main.dart]"]
  node_splash["Splash<br/>[splash_screen.dart]"]
end

subgraph group_identity["Onboarding and identity"]
  node_onboarding["Onboarding"]
  node_login["Login<br/>[login_screen.dart]"]
  node_signup["Signup<br/>[signup_screen.dart]"]
end

subgraph group_learning["Learning experience"]
  node_home["Home<br/>[home_screen.dart]"]
  node_lessons["Lessons"]
  node_lesson_card["Lesson card<br/>[lesson_card.dart]"]
  node_learning_game["Learning game"]
  node_question_card["Question card<br/>[question_card.dart]"]
  node_option_button["Option button<br/>[option_button.dart]"]
  node_supermarket["Number supermarket"]
  node_course_card["Course card<br/>[course_card.dart]"]
  node_home_header["Home header<br/>[home_header.dart]"]
  node_profile["Profile"]
  node_progress["Progress"]
end

subgraph group_shared["Shared foundations"]
  node_session["User session<br/>[user_session.dart]"]
  node_theme["App theme<br/>[app_theme.dart]"]
  node_colors["App colors<br/>[app_colors.dart]"]
end

node_learner(("Learner"))

click node_app_entry "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/main.dart"
click node_splash "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/splash/splash_screen.dart"
click node_onboarding "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/onboarding/onboarding_screen.dart"
click node_login "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/auth/login_screen.dart"
click node_signup "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/auth/signup_screen.dart"
click node_session "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/core/session/user_session.dart"
click node_home "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/home_screen.dart"
click node_lessons "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/lessons_screen.dart"
click node_lesson_card "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/widgets/lesson_card.dart"
click node_learning_game "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/learning_game_screen.dart"
click node_question_card "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/widgets/question_card.dart"
click node_option_button "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/widgets/option_button.dart"
click node_supermarket "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/number_supermarket_screen.dart"
click node_course_card "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/widgets/course_card.dart"
click node_home_header "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/widgets/home_header.dart"
click node_profile "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/profile_screen.dart"
click node_progress "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/progress/progress_screen.dart"
click node_theme "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/core/theme/app_theme.dart"
click node_colors "https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/core/theme/app_colors.dart"

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_app_entry,node_splash toneBlue
class node_onboarding,node_login,node_signup toneAmber
class node_home,node_lessons,node_lesson_card,node_learning_game,node_question_card,node_option_button,node_supermarket,node_course_card,node_home_header,node_profile,node_progress toneMint
class node_session,node_theme,node_colors toneRose
class node_learner toneIndigo
```

## Components

### App entry

- [Flutter entry](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/main.dart): `App/lib/main.dart`
- [Splash](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/splash/splash_screen.dart): `App/lib/features/splash/splash_screen.dart`

### Onboarding and identity

- [Onboarding](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/onboarding/onboarding_screen.dart): `App/lib/features/onboarding/onboarding_screen.dart`
- [Login](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/auth/login_screen.dart): `App/lib/features/auth/login_screen.dart`
- [Signup](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/auth/signup_screen.dart): `App/lib/features/auth/signup_screen.dart`

### Learning experience

- [Home](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/home_screen.dart): `App/lib/features/home/home_screen.dart`
- [Lessons](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/lessons_screen.dart): `App/lib/features/home/lessons_screen.dart`
- [Lesson card](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/widgets/lesson_card.dart): `App/lib/features/home/widgets/lesson_card.dart`
- [Learning game](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/learning_game_screen.dart): `App/lib/features/home/learning_game_screen.dart`
- [Question card](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/widgets/question_card.dart): `App/lib/features/home/widgets/question_card.dart`
- [Option button](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/widgets/option_button.dart): `App/lib/features/home/widgets/option_button.dart`
- [Number supermarket](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/number_supermarket_screen.dart): `App/lib/features/home/number_supermarket_screen.dart`
- [Course card](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/widgets/course_card.dart): `App/lib/features/home/widgets/course_card.dart`
- [Home header](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/widgets/home_header.dart): `App/lib/features/home/widgets/home_header.dart`
- [Profile](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/home/profile_screen.dart): `App/lib/features/home/profile_screen.dart`
- [Progress](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/features/progress/progress_screen.dart): `App/lib/features/progress/progress_screen.dart`

### Shared foundations

- [User session](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/core/session/user_session.dart): `App/lib/core/session/user_session.dart`
- [App theme](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/core/theme/app_theme.dart): `App/lib/core/theme/app_theme.dart`
- [App colors](https://github.com/ahmedreda-662/graduation_project/blob/main/App/lib/core/theme/app_colors.dart): `App/lib/core/theme/app_colors.dart`

### Other components

- **Learner**
