# fgaoae/my_calendar_app architecture

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

- Interactive diagram: https://gitdiagram.com/fgaoae/my_calendar_app
- Repository: https://github.com/fgaoae/my_calendar_app

## Overview

This is a Flutter calendar-planner app with calendar and database screens. The README documents the product only at a high level; Dart source was not included in the excerpts, so screen wiring and persistence behavior cannot be confirmed. The graph shows the visible product areas without assuming how they call one another.

Main entry points: [`lib/main.dart`](https://github.com/fgaoae/my_calendar_app/blob/main/lib/main.dart) (App entry), [`lib/screens/calendar_view.dart`](https://github.com/fgaoae/my_calendar_app/blob/main/lib/screens/calendar_view.dart) (Calendar screen), [`lib/screens/database_view.dart`](https://github.com/fgaoae/my_calendar_app/blob/main/lib/screens/database_view.dart) (Database screen)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Planner app"]
  node_entry["App entry<br/>[main.dart]"]
  node_calendar["Calendar screen<br/>[calendar_view.dart]"]
  node_database["Database screen<br/>[database_view.dart]"]
end

subgraph group_shared["Shared UI and logic"]
  node_date["Date helpers<br/>[date_helpers.dart]"]
  node_rrule["Recurrence builder<br/>[rrule_builder.dart]"]
  node_widgets["Shared components"]
  node_theme["App theme<br/>[airy_theme.dart]"]
  node_constants["App constants<br/>[constants.dart]"]
end

node_user(("Planner user"))

node_user -->|"opens"| node_entry
node_user -->|"uses"| node_calendar
node_user -->|"uses"| node_database

click node_entry "https://github.com/fgaoae/my_calendar_app/blob/main/lib/main.dart"
click node_calendar "https://github.com/fgaoae/my_calendar_app/blob/main/lib/screens/calendar_view.dart"
click node_database "https://github.com/fgaoae/my_calendar_app/blob/main/lib/screens/database_view.dart"
click node_date "https://github.com/fgaoae/my_calendar_app/blob/main/lib/utils/date_helpers.dart"
click node_rrule "https://github.com/fgaoae/my_calendar_app/blob/main/lib/utils/rrule_builder.dart"
click node_widgets "https://github.com/fgaoae/my_calendar_app/blob/main/lib/widgets/airy_components.dart"
click node_theme "https://github.com/fgaoae/my_calendar_app/blob/main/lib/theme/airy_theme.dart"
click node_constants "https://github.com/fgaoae/my_calendar_app/blob/main/lib/constants.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_calendar,node_database,node_user toneBlue
class node_date,node_rrule,node_widgets,node_theme,node_constants toneAmber
```

## Components

### Planner app

- [App entry](https://github.com/fgaoae/my_calendar_app/blob/main/lib/main.dart): `lib/main.dart`
- [Calendar screen](https://github.com/fgaoae/my_calendar_app/blob/main/lib/screens/calendar_view.dart): `lib/screens/calendar_view.dart`
- [Database screen](https://github.com/fgaoae/my_calendar_app/blob/main/lib/screens/database_view.dart): `lib/screens/database_view.dart`

### Shared UI and logic

- [Date helpers](https://github.com/fgaoae/my_calendar_app/blob/main/lib/utils/date_helpers.dart): `lib/utils/date_helpers.dart`
- [Recurrence builder](https://github.com/fgaoae/my_calendar_app/blob/main/lib/utils/rrule_builder.dart): `lib/utils/rrule_builder.dart`
- [Shared components](https://github.com/fgaoae/my_calendar_app/blob/main/lib/widgets/airy_components.dart): `lib/widgets/airy_components.dart`
- [App theme](https://github.com/fgaoae/my_calendar_app/blob/main/lib/theme/airy_theme.dart): `lib/theme/airy_theme.dart`
- [App constants](https://github.com/fgaoae/my_calendar_app/blob/main/lib/constants.dart): `lib/constants.dart`

### Other components

- **Planner user**

## Connections

- Planner user → App entry: opens
- Planner user → Calendar screen: uses
- Planner user → Database screen: uses
