# amrabdelhameeed/ella_lyaabdoon architecture

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

- Interactive diagram: https://gitdiagram.com/amrabdelhameeed/ella_lyaabdoon
- Repository: https://github.com/amrabdelhameeed/ella_lyaabdoon

## Overview

Ella Lyaabdoon is a Flutter spiritual-companion app whose central workflow presents prayer-time-organized Azkar and Hadith-backed rewards, then records activity for progress tracking. README documents onboarding, location-based prayer calculation, reminders, widgets, alternate browsing, settings, export/import, and statistics; these are represented as product capabilities, not verified call chains. Source evidence is limited to the README and excerpts of the Android activity and widget provider, so most feature relationships are documented at product level rather than traced through Dart implementation.

Main entry points: [`lib/features/home/presentation/screens/home_screen.dart`](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/home/presentation/screens/home_screen.dart) (Home timeline), [`lib/main.dart`](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/main.dart) (Flutter app), [`lib/features/statistics/presentation/screens/statistics_screen.dart`](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/statistics/presentation/screens/statistics_screen.dart) (Statistics), [`lib/core/notifications/notification_helper.dart`](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/core/notifications/notification_helper.dart) (Notifications)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App experience"]
  node_flutter["Flutter app<br/>[main.dart]"]
  node_navigation["App navigation<br/>[app_router.dart]"]
  node_onboarding["Onboarding<br/>[intro_screen.dart]"]
  node_home["Home timeline<br/>[home_screen.dart]"]
  node_reels["Reels browsing"]
  node_settings["Settings"]
end

subgraph group_worship["Worship content"]
  node_reward_content["Timeline rewards"]
  node_prayer_periods["Prayer periods<br/>[azan_helper.dart]"]
  node_location["Location setup"]
end

subgraph group_progress["Progress and reminders"]
  node_statistics["Statistics"]
  node_history["Activity history"]
  node_streaks["Streak tracking"]
  node_notifications["Notifications"]
end

subgraph group_platform["Platform services"]
  node_data_transfer["Data export/import"]
  node_local_store[("Local database")]
  node_prayer_widget["Prayer reward widget"]
  node_android_activity["Android activity<br/>[MainActivity.kt]"]
end

node_person(("App user"))
node_firebase{{"Firebase messaging"}}
node_location_service{{"Device location"}}

node_person -->|"opens app"| node_android_activity
node_person -->|"views timeline"| node_home
node_flutter -->|"offers onboarding"| node_onboarding
node_flutter -->|"routes screens"| node_navigation
node_home -->|"organizes by prayer"| node_prayer_periods
node_home -->|"presents rewards"| node_reward_content
node_person -->|"browses Azkar"| node_reels
node_location -->|"detects location"| node_location_service
node_home -->|"tracks progress"| node_statistics
node_home -.->|"records activity"| node_history
node_statistics -->|"shows streaks"| node_streaks
node_settings -->|"customizes reminders"| node_notifications
node_notifications -->|"receives push messages"| node_firebase
node_flutter -->|"provides home widget"| node_prayer_widget
node_person -->|"uses widget"| node_prayer_widget
node_person -->|"exports or imports"| node_data_transfer
node_data_transfer -->|"backs up local data"| node_local_store
node_android_activity -->|"hosts Flutter"| node_flutter

click node_flutter "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/main.dart"
click node_navigation "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/app_router.dart"
click node_onboarding "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/intro/presentation/screens/intro_screen.dart"
click node_home "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/home/presentation/screens/home_screen.dart"
click node_reels "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/home/presentation/screens/reels_view_screen.dart"
click node_reward_content "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/core/models/timeline_reward.dart"
click node_prayer_periods "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/core/utils/azan_helper.dart"
click node_location "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/location/services/location_service.dart"
click node_statistics "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/statistics/presentation/screens/statistics_screen.dart"
click node_history "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/history/presentation/screens/history_screen.dart"
click node_streaks "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/streak/services/streak_service.dart"
click node_notifications "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/core/notifications/notification_helper.dart"
click node_settings "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/settings/presentation/screens/settings_screen.dart"
click node_data_transfer "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/core/services/data_export_import_service.dart"
click node_local_store "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/core/services/app_services_database_provider.dart"
click node_prayer_widget "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/android/app/src/main/kotlin/com/amrabdelhameed/ella_lyaabdoon/PrayerRewardWidgetProvider.kt"
click node_android_activity "https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/android/app/src/main/kotlin/com/amrabdelhameed/ella_lyaabdoon/MainActivity.kt"

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_flutter,node_navigation,node_onboarding,node_home,node_reels,node_settings,node_person toneBlue
class node_reward_content,node_prayer_periods,node_location toneAmber
class node_statistics,node_history,node_streaks,node_notifications toneMint
class node_data_transfer,node_local_store,node_prayer_widget,node_android_activity toneRose
class node_firebase,node_location_service toneIndigo
```

## Components

### App experience

- [Flutter app](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/main.dart): `lib/main.dart`
- [App navigation](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/app_router.dart): `lib/app_router.dart`
- [Onboarding](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/intro/presentation/screens/intro_screen.dart): `lib/features/intro/presentation/screens/intro_screen.dart`
- [Home timeline](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/home/presentation/screens/home_screen.dart): `lib/features/home/presentation/screens/home_screen.dart`
- [Reels browsing](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/home/presentation/screens/reels_view_screen.dart): `lib/features/home/presentation/screens/reels_view_screen.dart`
- [Settings](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/settings/presentation/screens/settings_screen.dart): `lib/features/settings/presentation/screens/settings_screen.dart`

### Worship content

- [Timeline rewards](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/core/models/timeline_reward.dart): `lib/core/models/timeline_reward.dart`
- [Prayer periods](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/core/utils/azan_helper.dart): `lib/core/utils/azan_helper.dart`
- [Location setup](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/location/services/location_service.dart): `lib/features/location/services/location_service.dart`

### Progress and reminders

- [Statistics](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/statistics/presentation/screens/statistics_screen.dart): `lib/features/statistics/presentation/screens/statistics_screen.dart`
- [Activity history](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/history/presentation/screens/history_screen.dart): `lib/features/history/presentation/screens/history_screen.dart`
- [Streak tracking](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/features/streak/services/streak_service.dart): `lib/features/streak/services/streak_service.dart`
- [Notifications](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/core/notifications/notification_helper.dart): `lib/core/notifications/notification_helper.dart`

### Platform services

- [Data export/import](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/core/services/data_export_import_service.dart): `lib/core/services/data_export_import_service.dart`
- [Local database](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/lib/core/services/app_services_database_provider.dart): `lib/core/services/app_services_database_provider.dart`
- [Prayer reward widget](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/android/app/src/main/kotlin/com/amrabdelhameed/ella_lyaabdoon/PrayerRewardWidgetProvider.kt): `android/app/src/main/kotlin/com/amrabdelhameed/ella_lyaabdoon/PrayerRewardWidgetProvider.kt`
- [Android activity](https://github.com/amrabdelhameeed/ella_lyaabdoon/blob/main/android/app/src/main/kotlin/com/amrabdelhameed/ella_lyaabdoon/MainActivity.kt): `android/app/src/main/kotlin/com/amrabdelhameed/ella_lyaabdoon/MainActivity.kt`

### Other components

- **App user**
- **Firebase messaging**
- **Device location**

## Connections

- App user → Android activity: opens app (evidence: `android/app/src/main/kotlin/com/amrabdelhameed/ella_lyaabdoon/MainActivity.kt`)
- App user → Home timeline: views timeline (evidence: `README.md`)
- Flutter app → Onboarding: offers onboarding (evidence: `README.md`)
- Flutter app → App navigation: routes screens (evidence: `README.md`)
- Home timeline → Prayer periods: organizes by prayer (evidence: `README.md`)
- Home timeline → Timeline rewards: presents rewards (evidence: `README.md`)
- App user → Reels browsing: browses Azkar (evidence: `README.md`)
- Location setup → Device location: detects location (evidence: `README.md`)
- Home timeline → Statistics: tracks progress (evidence: `README.md`)
- Home timeline → Activity history: records activity
- Statistics → Streak tracking: shows streaks (evidence: `README.md`)
- Settings → Notifications: customizes reminders (evidence: `README.md`)
- Notifications → Firebase messaging: receives push messages (evidence: `README.md`)
- Flutter app → Prayer reward widget: provides home widget (evidence: `README.md`)
- App user → Prayer reward widget: uses widget (evidence: `README.md`)
- App user → Data export/import: exports or imports (evidence: `README.md`)
- Data export/import → Local database: backs up local data (evidence: `README.md`)
- Android activity → Flutter app: hosts Flutter (evidence: `android/app/src/main/kotlin/com/amrabdelhameed/ella_lyaabdoon/MainActivity.kt`)
