# nuby911/prooject-rivalnvdia architecture

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

- Interactive diagram: https://gitdiagram.com/nuby911/prooject-rivalnvdia
- Repository: https://github.com/nuby911/prooject-rivalnvdia

## Overview

Rencana Harian is a Flutter task-planning app. Users create tasks with optional deadlines, review daily counts and progress, inspect or delete tasks, and toggle completion; task data is stored locally and deadline reminders are scheduled on-device. The README documents these capabilities and the storage, notification, and timezone technologies. Dart implementation excerpts were not provided, so screen-to-screen and service-call edges are dashed where the runtime wiring cannot be verified.

Main entry points: [`lib/screens/home_screen.dart`](https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/screens/home_screen.dart) (Daily overview), [`lib/screens/add_task_screen.dart`](https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/screens/add_task_screen.dart) (Create task), [`lib/services/notification_service.dart`](https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/services/notification_service.dart) (Reminder scheduler), [`lib/main.dart`](https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/main.dart) (App entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App flow"]
  node_entry["App entry<br/>[main.dart]"]
  node_home["Daily overview<br/>[home_screen.dart]"]
  node_theme["App theme<br/>[app_theme.dart]"]
end

subgraph group_tasks["Task management"]
  node_task["Task model<br/>[task.dart]"]
  node_create["Create task"]
  node_detail["Task detail"]
  node_task_card["Task card<br/>[task_card.dart]"]
  node_task_tile["Task tile<br/>[task_tile.dart]"]
  node_empty["Empty state<br/>[empty_task.dart]"]
end

subgraph group_storage["Local persistence"]
  node_storage_service["Task storage"]
  node_preferences[("Shared preferences")]
end

subgraph group_reminders["Deadline reminders"]
  node_notification_service["Reminder scheduler"]
  node_notifications["Local notifications"]
  node_timezone["Device timezone"]
end

node_user(("User"))

node_user -->|"opens app"| node_entry
node_entry -.->|"launches"| node_home
node_user -->|"reviews progress"| node_home
node_home -.->|"starts task creation"| node_create
node_user -->|"enters task"| node_create
node_create -.->|"creates task"| node_task
node_user -->|"opens task"| node_detail
node_user -->|"toggles completion"| node_task_card
node_user -->|"selects task"| node_task_tile
node_home -.->|"shows empty state"| node_empty
node_home -.->|"loads tasks"| node_storage_service
node_storage_service -->|"stores task list"| node_preferences
node_create -.->|"requests reminder"| node_notification_service
node_notification_service -->|"schedules alert"| node_notifications
node_notification_service -->|"uses device timezone"| node_timezone

click node_entry "https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/main.dart"
click node_home "https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/screens/home_screen.dart"
click node_theme "https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/theme/app_theme.dart"
click node_task "https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/models/task.dart"
click node_create "https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/screens/add_task_screen.dart"
click node_detail "https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/screens/detail_task_screen.dart"
click node_task_card "https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/widgets/task_card.dart"
click node_task_tile "https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/widgets/task_tile.dart"
click node_empty "https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/widgets/empty_task.dart"
click node_storage_service "https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/services/storage_service.dart"
click node_notification_service "https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/services/notification_service.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_entry,node_home,node_theme,node_user toneBlue
class node_task,node_create,node_detail,node_task_card,node_task_tile,node_empty toneAmber
class node_storage_service,node_preferences toneMint
class node_notification_service,node_notifications,node_timezone toneRose
```

## Components

### App flow

- [App entry](https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/main.dart): `lib/main.dart`
- [Daily overview](https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/screens/home_screen.dart): `lib/screens/home_screen.dart`
- [App theme](https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/theme/app_theme.dart): `lib/theme/app_theme.dart`

### Task management

- [Task model](https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/models/task.dart): `lib/models/task.dart`
- [Create task](https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/screens/add_task_screen.dart): `lib/screens/add_task_screen.dart`
- [Task detail](https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/screens/detail_task_screen.dart): `lib/screens/detail_task_screen.dart`
- [Task card](https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/widgets/task_card.dart): `lib/widgets/task_card.dart`
- [Task tile](https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/widgets/task_tile.dart): `lib/widgets/task_tile.dart`
- [Empty state](https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/widgets/empty_task.dart): `lib/widgets/empty_task.dart`

### Local persistence

- [Task storage](https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/services/storage_service.dart): `lib/services/storage_service.dart`
- **Shared preferences**

### Deadline reminders

- [Reminder scheduler](https://github.com/nuby911/prooject-rivalnvdia/blob/main/lib/services/notification_service.dart): `lib/services/notification_service.dart`
- **Local notifications**
- **Device timezone**

### Other components

- **User**

## Connections

- User → App entry: opens app (evidence: `README.md`)
- App entry → Daily overview: launches
- User → Daily overview: reviews progress (evidence: `README.md`)
- Daily overview → Create task: starts task creation
- User → Create task: enters task (evidence: `README.md`)
- Create task → Task model: creates task
- User → Task detail: opens task (evidence: `README.md`)
- User → Task card: toggles completion (evidence: `README.md`)
- User → Task tile: selects task (evidence: `README.md`)
- Daily overview → Empty state: shows empty state
- Daily overview → Task storage: loads tasks
- Task storage → Shared preferences: stores task list (evidence: `README.md`)
- Create task → Reminder scheduler: requests reminder
- Reminder scheduler → Local notifications: schedules alert (evidence: `README.md`)
- Reminder scheduler → Device timezone: uses device timezone (evidence: `README.md`)
