# abbasmuazam6-create/mcqbankmobile architecture

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

- Interactive diagram: https://gitdiagram.com/abbasmuazam6-create/mcqbankmobile
- Repository: https://github.com/abbasmuazam6-create/mcqbankmobile

## Overview

This is a Flutter study and exam-preparation app, inferred from its feature directories; the README only describes a starter Flutter project. The apparent user journey spans sign-in, a study dashboard, practice or other learning tools, and progress tracking. The tree also shows planning, content, offline-sync, and account capabilities. Dart implementation excerpts were not provided, so the feature relationships below are dashed and unverified; the graph does not assert call-level wiring.

Main entry points: [`lib/app/router/app_router.dart`](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/app/router/app_router.dart) (Navigation), [`lib/core/offline/sync_engine.dart`](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/core/offline/sync_engine.dart) (Offline Sync), [`lib/main.dart`](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/main.dart) (App Entry), [`lib/features/home/presentation/screens/today_dashboard_screen.dart`](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/home/presentation/screens/today_dashboard_screen.dart) (Study Dashboard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App Shell"]
  node_app_entry["App Entry<br/>[main.dart]"]
  node_navigation["Navigation<br/>[app_router.dart]"]
  node_local_store[("Local Database<br/>[app_database.dart]")]
  node_sync_engine["Offline Sync<br/>[sync_engine.dart]"]
end

subgraph group_learning["Study &amp; Practice"]
  node_dashboard["Study Dashboard"]
  node_mcq_practice["Question Practice"]
  node_mcq_submission["Answer Submission<br/>[submit_answer.dart]"]
  node_curriculum["Curriculum Browser"]
  node_exam_tools["Exam Tools"]
  node_study_planner["Study Planner"]
  node_games["Brain Games<br/>[games_screen.dart]"]
end

subgraph group_content["Learning Content"]
  node_pdf_library["PDF Library"]
  node_video_hub["Video Hub"]
end

subgraph group_account["Progress &amp; Account"]
  node_sign_in["Sign In<br/>[login_screen.dart]"]
  node_analytics["Study Analytics"]
  node_gamification["XP &amp; Streaks<br/>[award_xp.dart]"]
  node_profile["Profile"]
end

node_learner(("Learner"))
node_firebase[("Firebase")]

node_learner -.->|"opens"| node_app_entry
node_app_entry -.->|"starts"| node_navigation
node_navigation -.->|"routes to"| node_sign_in
node_navigation -.->|"routes to"| node_dashboard
node_dashboard -.->|"offers"| node_mcq_practice
node_mcq_practice -.->|"submits answers"| node_mcq_submission
node_navigation -.->|"routes to"| node_curriculum
node_navigation -.->|"routes to"| node_exam_tools
node_navigation -.->|"routes to"| node_study_planner
node_navigation -.->|"routes to"| node_games
node_navigation -.->|"routes to"| node_pdf_library
node_navigation -.->|"routes to"| node_video_hub
node_navigation -.->|"routes to"| node_analytics
node_navigation -.->|"routes to"| node_gamification
node_navigation -.->|"routes to"| node_profile
node_sync_engine -.->|"syncs local data"| node_local_store
node_sync_engine -.->|"syncs remotely"| node_firebase

click node_app_entry "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/main.dart"
click node_navigation "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/app/router/app_router.dart"
click node_sign_in "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/auth/presentation/screens/login_screen.dart"
click node_dashboard "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/home/presentation/screens/today_dashboard_screen.dart"
click node_mcq_practice "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/mcq/presentation/practice/practice_screen.dart"
click node_mcq_submission "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/mcq/domain/usecases/submit_answer.dart"
click node_curriculum "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/mcq/presentation/curriculum/curriculum_browser_screen.dart"
click node_exam_tools "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/mcq/presentation/exam_simulator/exam_simulator_screen.dart"
click node_study_planner "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/planner/presentation/screens/study_planner_screen.dart"
click node_games "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/games/games_screen.dart"
click node_pdf_library "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/pdf_reader/presentation/screens/pdf_library_screen.dart"
click node_video_hub "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/video_hub/presentation/screens/video_list_screen.dart"
click node_analytics "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/analytics/presentation/screens/analytics_screen.dart"
click node_gamification "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/gamification/domain/usecases/award_xp.dart"
click node_profile "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/profile/presentation/screens/profile_screen.dart"
click node_local_store "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/core/database/app_database.dart"
click node_sync_engine "https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/core/offline/sync_engine.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_navigation,node_local_store,node_sync_engine toneBlue
class node_dashboard,node_mcq_practice,node_mcq_submission,node_curriculum,node_exam_tools,node_study_planner,node_games,node_firebase toneAmber
class node_pdf_library,node_video_hub toneMint
class node_sign_in,node_analytics,node_gamification,node_profile toneRose
class node_learner toneIndigo
```

## Components

### App Shell

- [App Entry](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/main.dart): `lib/main.dart`
- [Navigation](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/app/router/app_router.dart): `lib/app/router/app_router.dart`
- [Local Database](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/core/database/app_database.dart): `lib/core/database/app_database.dart`
- [Offline Sync](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/core/offline/sync_engine.dart): `lib/core/offline/sync_engine.dart`

### Study & Practice

- [Study Dashboard](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/home/presentation/screens/today_dashboard_screen.dart): `lib/features/home/presentation/screens/today_dashboard_screen.dart`
- [Question Practice](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/mcq/presentation/practice/practice_screen.dart): `lib/features/mcq/presentation/practice/practice_screen.dart`
- [Answer Submission](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/mcq/domain/usecases/submit_answer.dart): `lib/features/mcq/domain/usecases/submit_answer.dart`
- [Curriculum Browser](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/mcq/presentation/curriculum/curriculum_browser_screen.dart): `lib/features/mcq/presentation/curriculum/curriculum_browser_screen.dart`
- [Exam Tools](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/mcq/presentation/exam_simulator/exam_simulator_screen.dart): `lib/features/mcq/presentation/exam_simulator/exam_simulator_screen.dart`
- [Study Planner](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/planner/presentation/screens/study_planner_screen.dart): `lib/features/planner/presentation/screens/study_planner_screen.dart`
- [Brain Games](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/games/games_screen.dart): `lib/features/games/games_screen.dart`

### Learning Content

- [PDF Library](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/pdf_reader/presentation/screens/pdf_library_screen.dart): `lib/features/pdf_reader/presentation/screens/pdf_library_screen.dart`
- [Video Hub](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/video_hub/presentation/screens/video_list_screen.dart): `lib/features/video_hub/presentation/screens/video_list_screen.dart`

### Progress & Account

- [Sign In](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/auth/presentation/screens/login_screen.dart): `lib/features/auth/presentation/screens/login_screen.dart`
- [Study Analytics](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/analytics/presentation/screens/analytics_screen.dart): `lib/features/analytics/presentation/screens/analytics_screen.dart`
- [XP & Streaks](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/gamification/domain/usecases/award_xp.dart): `lib/features/gamification/domain/usecases/award_xp.dart`
- [Profile](https://github.com/abbasmuazam6-create/mcqbankmobile/blob/main/lib/features/profile/presentation/screens/profile_screen.dart): `lib/features/profile/presentation/screens/profile_screen.dart`

### Other components

- **Learner**
- **Firebase**

## Connections

- Learner → App Entry: opens
- App Entry → Navigation: starts
- Navigation → Sign In: routes to
- Navigation → Study Dashboard: routes to
- Study Dashboard → Question Practice: offers
- Question Practice → Answer Submission: submits answers
- Navigation → Curriculum Browser: routes to
- Navigation → Exam Tools: routes to
- Navigation → Study Planner: routes to
- Navigation → Brain Games: routes to
- Navigation → PDF Library: routes to
- Navigation → Video Hub: routes to
- Navigation → Study Analytics: routes to
- Navigation → XP & Streaks: routes to
- Navigation → Profile: routes to
- Offline Sync → Local Database: syncs local data
- Offline Sync → Firebase: syncs remotely
