# arzkyf7-ctrl/flutter-kelas-11 architecture

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

- Interactive diagram: https://gitdiagram.com/arzkyf7-ctrl/flutter-kelas-11
- Repository: https://github.com/arzkyf7-ctrl/flutter-kelas-11

## Overview

This is a small Flutter app whose filenames suggest a login-to-calculator workflow, with a controller, calculator logic, and reusable input/display controls. The README describes only a starter project, and no Dart source was excerpted, so the wiring below is inferred from filenames; dashed edges have no source evidence.

Main entry points: [`lib/pages/calculator_page.dart`](https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/pages/calculator_page.dart) (Calculator page), [`lib/main.dart`](https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/main.dart) (App entrypoint), [`lib/login_page.dart`](https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/login_page.dart) (Login page), [`lib/simple_calculator.dart`](https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/simple_calculator.dart) (Calculator app)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App flow"]
  node_main["App entrypoint<br/>[main.dart]"]
  node_login["Login page<br/>[login_page.dart]"]
end

subgraph group_calc["Calculator"]
  node_simple["Calculator app"]
  node_page["Calculator page"]
  node_controller["Calculator controller"]
end

subgraph group_ui["Reusable UI"]
  node_button["Custom button<br/>[button_custom.dart]"]
  node_text["Custom text<br/>[text_custom.dart]"]
  node_textfield["Custom text field"]
end

node_user(("User"))

node_user -.->|"launches"| node_main
node_main -.->|"opens"| node_login
node_login -.->|"continues to"| node_simple
node_simple -.->|"shows"| node_page
node_page -.->|"delegates to"| node_controller
node_page -.->|"uses"| node_button
node_page -.->|"uses"| node_text
node_page -.->|"uses"| node_textfield

click node_main "https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/main.dart"
click node_login "https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/login_page.dart"
click node_simple "https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/simple_calculator.dart"
click node_page "https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/pages/calculator_page.dart"
click node_controller "https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/controllers/calculator_controller.dart"
click node_button "https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/components/button_custom.dart"
click node_text "https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/components/text_custom.dart"
click node_textfield "https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/components/textfield_custom.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_main,node_login,node_user toneBlue
class node_simple,node_page,node_controller toneAmber
class node_button,node_text,node_textfield toneMint
```

## Components

### App flow

- [App entrypoint](https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/main.dart): `lib/main.dart`
- [Login page](https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/login_page.dart): `lib/login_page.dart`

### Calculator

- [Calculator app](https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/simple_calculator.dart): `lib/simple_calculator.dart`
- [Calculator page](https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/pages/calculator_page.dart): `lib/pages/calculator_page.dart`
- [Calculator controller](https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/controllers/calculator_controller.dart): `lib/controllers/calculator_controller.dart`

### Reusable UI

- [Custom button](https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/components/button_custom.dart): `lib/components/button_custom.dart`
- [Custom text](https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/components/text_custom.dart): `lib/components/text_custom.dart`
- [Custom text field](https://github.com/arzkyf7-ctrl/flutter-kelas-11/blob/main/lib/components/textfield_custom.dart): `lib/components/textfield_custom.dart`

### Other components

- **User**

## Connections

- User → App entrypoint: launches
- App entrypoint → Login page: opens
- Login page → Calculator app: continues to
- Calculator app → Calculator page: shows
- Calculator page → Calculator controller: delegates to
- Calculator page → Custom button: uses
- Calculator page → Custom text: uses
- Calculator page → Custom text field: uses
