# adrianriegel/app_mobile architecture

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

- Interactive diagram: https://gitdiagram.com/adrianriegel/app_mobile
- Repository: https://github.com/adrianriegel/app_mobile
- Video tour (about a minute): https://gitdiagram.com/adrianriegel/app_mobile/video

## Overview

EduTurmas is a Flutter prototype for managing classes, assessments, and exam correction. Its principal workflow moves from assessment creation and details to answer-key setup and simulated correction; results are represented in general and exam-specific statistics, with a simulated report preview. The app also includes sign-in, registration, password-reset, class/student management, dashboard shortcuts, and empty/error states. The README describes mock in-memory data and no real backend, camera/QR, or PDF integration. Dart implementation files were not excerpted, so documented capabilities are included without inferring internal calls.

Main entry points: [`lib/Screens/dashboard_screen.dart`](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/dashboard_screen.dart) (Dashboard), [`lib/data`](https://github.com/adrianriegel/app_mobile/tree/main/lib/data) (Mock datasets), [`lib/Screens/classes_screen.dart`](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/classes_screen.dart) (Class list), [`lib/Screens/assessments_screen.dart`](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/assessments_screen.dart) (Assessment list)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["Access and navigation"]
  node_auth["Account access"]
  node_dashboard["Dashboard"]
end

subgraph group_classes_assessments["Classes and assessments"]
  node_classes["Class list"]
  node_class_detail["Class and students"]
  node_assessments["Assessment list"]
  node_new_assessment["Assessment draft"]
  node_assessment_detail["Assessment details"]
  node_answer_key["Answer key"]
end

subgraph group_correction_insights["Correction and insights"]
  node_correction["Correction flow"]
  node_proof["Proof entry"]
  node_proof_grades["Correction result"]
  node_statistics["Class statistics"]
  node_exam_statistics["Exam statistics"]
  node_report["Report preview<br/>[report_screen.dart]"]
end

subgraph group_app_core["App data and presentation"]
  node_mock_data["Mock datasets"]
  node_models["Domain models"]
  node_theme["Visual theme<br/>[app_colors.dart]"]
  node_app_entry["Flutter entry<br/>[main.dart]"]
end

node_user(("Educator"))

node_user -->|"signs in"| node_auth
node_user -->|"opens app"| node_dashboard
node_dashboard -->|"opens classes"| node_classes
node_dashboard -->|"opens assessments"| node_assessments
node_classes -->|"opens class"| node_class_detail
node_assessments -->|"creates draft"| node_new_assessment
node_assessments -->|"opens details"| node_assessment_detail
node_assessment_detail -->|"configures key"| node_answer_key
node_assessment_detail -->|"starts correction"| node_correction
node_correction -->|"selects student"| node_proof
node_proof -->|"shows result"| node_proof_grades
node_dashboard -->|"opens statistics"| node_statistics
node_statistics -->|"opens exam"| node_exam_statistics
node_dashboard -->|"opens reports"| node_report
node_new_assessment -->|"uses mock data"| node_mock_data
node_classes -->|"uses mock data"| node_mock_data
node_statistics -->|"uses mock data"| node_mock_data
node_report -->|"previews mock data"| node_mock_data
node_app_entry -.->|"applies palette"| node_theme

click node_auth "https://github.com/adrianriegel/app_mobile/tree/main/lib/Screens"
click node_dashboard "https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/dashboard_screen.dart"
click node_classes "https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/classes_screen.dart"
click node_class_detail "https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/class_detail_screen.dart"
click node_assessments "https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/assessments_screen.dart"
click node_new_assessment "https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/new_assessment_screen.dart"
click node_assessment_detail "https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/assessment_detail_screen.dart"
click node_answer_key "https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/answer_key_screen.dart"
click node_correction "https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/correction_start_screen.dart"
click node_proof "https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/new_proof_screen.dart"
click node_proof_grades "https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/proof_grades_screen.dart"
click node_statistics "https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/statistics_screen.dart"
click node_exam_statistics "https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/exam_statistics_screen.dart"
click node_report "https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/report_screen.dart"
click node_mock_data "https://github.com/adrianriegel/app_mobile/tree/main/lib/data"
click node_models "https://github.com/adrianriegel/app_mobile/tree/main/lib/models"
click node_theme "https://github.com/adrianriegel/app_mobile/blob/main/lib/theme/app_colors.dart"
click node_app_entry "https://github.com/adrianriegel/app_mobile/blob/main/lib/main.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_auth,node_dashboard toneBlue
class node_classes,node_class_detail,node_assessments,node_new_assessment,node_assessment_detail,node_answer_key toneAmber
class node_correction,node_proof,node_proof_grades,node_statistics,node_exam_statistics,node_report toneMint
class node_mock_data,node_models,node_theme,node_app_entry toneRose
class node_user toneIndigo
```

## Components

### Access and navigation

- [Account access](https://github.com/adrianriegel/app_mobile/tree/main/lib/Screens): `lib/Screens`
- [Dashboard](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/dashboard_screen.dart): `lib/Screens/dashboard_screen.dart`

### Classes and assessments

- [Class list](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/classes_screen.dart): `lib/Screens/classes_screen.dart`
- [Class and students](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/class_detail_screen.dart): `lib/Screens/class_detail_screen.dart`
- [Assessment list](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/assessments_screen.dart): `lib/Screens/assessments_screen.dart`
- [Assessment draft](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/new_assessment_screen.dart): `lib/Screens/new_assessment_screen.dart`
- [Assessment details](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/assessment_detail_screen.dart): `lib/Screens/assessment_detail_screen.dart`
- [Answer key](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/answer_key_screen.dart): `lib/Screens/answer_key_screen.dart`

### Correction and insights

- [Correction flow](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/correction_start_screen.dart): `lib/Screens/correction_start_screen.dart`
- [Proof entry](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/new_proof_screen.dart): `lib/Screens/new_proof_screen.dart`
- [Correction result](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/proof_grades_screen.dart): `lib/Screens/proof_grades_screen.dart`
- [Class statistics](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/statistics_screen.dart): `lib/Screens/statistics_screen.dart`
- [Exam statistics](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/exam_statistics_screen.dart): `lib/Screens/exam_statistics_screen.dart`
- [Report preview](https://github.com/adrianriegel/app_mobile/blob/main/lib/Screens/report_screen.dart): `lib/Screens/report_screen.dart`

### App data and presentation

- [Mock datasets](https://github.com/adrianriegel/app_mobile/tree/main/lib/data): `lib/data`
- [Domain models](https://github.com/adrianriegel/app_mobile/tree/main/lib/models): `lib/models`
- [Visual theme](https://github.com/adrianriegel/app_mobile/blob/main/lib/theme/app_colors.dart): `lib/theme/app_colors.dart`
- [Flutter entry](https://github.com/adrianriegel/app_mobile/blob/main/lib/main.dart): `lib/main.dart`

### Other components

- **Educator**

## Connections

- Educator → Account access: signs in (evidence: `README.md`)
- Educator → Dashboard: opens app (evidence: `README.md`)
- Dashboard → Class list: opens classes (evidence: `README.md`)
- Dashboard → Assessment list: opens assessments (evidence: `README.md`)
- Class list → Class and students: opens class (evidence: `README.md`)
- Assessment list → Assessment draft: creates draft (evidence: `README.md`)
- Assessment list → Assessment details: opens details (evidence: `README.md`)
- Assessment details → Answer key: configures key (evidence: `README.md`)
- Assessment details → Correction flow: starts correction (evidence: `README.md`)
- Correction flow → Proof entry: selects student (evidence: `README.md`)
- Proof entry → Correction result: shows result (evidence: `README.md`)
- Dashboard → Class statistics: opens statistics (evidence: `README.md`)
- Class statistics → Exam statistics: opens exam (evidence: `README.md`)
- Dashboard → Report preview: opens reports (evidence: `README.md`)
- Assessment draft → Mock datasets: uses mock data (evidence: `README.md`)
- Class list → Mock datasets: uses mock data (evidence: `README.md`)
- Class statistics → Mock datasets: uses mock data (evidence: `README.md`)
- Report preview → Mock datasets: previews mock data (evidence: `README.md`)
- Flutter entry → Visual theme: applies palette
