# pixelated-brain/project24-pro architecture

> Architecture diagram of the GitHub repository pixelated-brain/project24-pro, 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/pixelated-brain/project24-pro
- Repository: https://github.com/pixelated-brain/project24-pro

## Overview

The tree suggests a cross-platform Flutter app branded CBE Mobile, with login, dashboard, transfer, and success screens. A likely user journey is login → dashboard → transfer menu/account selection/form → success; the README does not document that flow, and the sampled source omits Dart implementations, so those screen-to-screen links cannot be verified. The map includes the visible app entry point, shared state, screens, widgets, and platform-specific file-saving modules; native platform launchers are framework scaffolding.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App coordination"]
  node_entry["App entry<br/>[main.dart]"]
  node_state["App state<br/>[app_state.dart]"]
end

subgraph group_screens["Banking screens"]
  node_login["Login<br/>[login_screen.dart]"]
  node_dashboard["Dashboard"]
  node_transfer_menu["Transfer menu"]
  node_transfer_account["Transfer account"]
  node_transfer_form["Transfer form<br/>[transfer_form.dart]"]
  node_success["Success"]
end

subgraph group_support["Shared support"]
  node_branding["CBE logo<br/>[cbe_logo.dart]"]
  node_phone_frame["Phone frame<br/>[phone_frame.dart]"]
  node_file_saver["File saver API<br/>[file_saver.dart]"]
  node_file_factory["Saver factory"]
  node_saver_mobile["Mobile saver"]
  node_saver_web["Web saver"]
end

node_user(("User"))

click node_entry "https://github.com/pixelated-brain/project24-pro/blob/main/lib/main.dart"
click node_state "https://github.com/pixelated-brain/project24-pro/blob/main/lib/app_state.dart"
click node_login "https://github.com/pixelated-brain/project24-pro/blob/main/lib/screens/login_screen.dart"
click node_dashboard "https://github.com/pixelated-brain/project24-pro/blob/main/lib/screens/dashboard_screen.dart"
click node_transfer_menu "https://github.com/pixelated-brain/project24-pro/blob/main/lib/screens/transfer_menu_screen.dart"
click node_transfer_account "https://github.com/pixelated-brain/project24-pro/blob/main/lib/screens/transfer_account_screen.dart"
click node_transfer_form "https://github.com/pixelated-brain/project24-pro/blob/main/lib/screens/transfer_form.dart"
click node_success "https://github.com/pixelated-brain/project24-pro/blob/main/lib/screens/success_screen.dart"
click node_branding "https://github.com/pixelated-brain/project24-pro/blob/main/lib/widgets/cbe_logo.dart"
click node_phone_frame "https://github.com/pixelated-brain/project24-pro/blob/main/lib/widgets/phone_frame.dart"
click node_file_saver "https://github.com/pixelated-brain/project24-pro/blob/main/lib/utils/file_saver.dart"
click node_file_factory "https://github.com/pixelated-brain/project24-pro/blob/main/lib/utils/file_saver_factory.dart"
click node_saver_mobile "https://github.com/pixelated-brain/project24-pro/blob/main/lib/utils/file_saver_mobile.dart"
click node_saver_web "https://github.com/pixelated-brain/project24-pro/blob/main/lib/utils/file_saver_web.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_state,node_user toneBlue
class node_login,node_dashboard,node_transfer_menu,node_transfer_account,node_transfer_form,node_success toneAmber
class node_branding,node_phone_frame,node_file_saver,node_file_factory,node_saver_mobile,node_saver_web toneMint
```

## Components

### App coordination

- [App entry](https://github.com/pixelated-brain/project24-pro/blob/main/lib/main.dart): `lib/main.dart`
- [App state](https://github.com/pixelated-brain/project24-pro/blob/main/lib/app_state.dart): `lib/app_state.dart`

### Banking screens

- [Login](https://github.com/pixelated-brain/project24-pro/blob/main/lib/screens/login_screen.dart): `lib/screens/login_screen.dart`
- [Dashboard](https://github.com/pixelated-brain/project24-pro/blob/main/lib/screens/dashboard_screen.dart): `lib/screens/dashboard_screen.dart`
- [Transfer menu](https://github.com/pixelated-brain/project24-pro/blob/main/lib/screens/transfer_menu_screen.dart): `lib/screens/transfer_menu_screen.dart`
- [Transfer account](https://github.com/pixelated-brain/project24-pro/blob/main/lib/screens/transfer_account_screen.dart): `lib/screens/transfer_account_screen.dart`
- [Transfer form](https://github.com/pixelated-brain/project24-pro/blob/main/lib/screens/transfer_form.dart): `lib/screens/transfer_form.dart`
- [Success](https://github.com/pixelated-brain/project24-pro/blob/main/lib/screens/success_screen.dart): `lib/screens/success_screen.dart`

### Shared support

- [CBE logo](https://github.com/pixelated-brain/project24-pro/blob/main/lib/widgets/cbe_logo.dart): `lib/widgets/cbe_logo.dart`
- [Phone frame](https://github.com/pixelated-brain/project24-pro/blob/main/lib/widgets/phone_frame.dart): `lib/widgets/phone_frame.dart`
- [File saver API](https://github.com/pixelated-brain/project24-pro/blob/main/lib/utils/file_saver.dart): `lib/utils/file_saver.dart`
- [Saver factory](https://github.com/pixelated-brain/project24-pro/blob/main/lib/utils/file_saver_factory.dart): `lib/utils/file_saver_factory.dart`
- [Mobile saver](https://github.com/pixelated-brain/project24-pro/blob/main/lib/utils/file_saver_mobile.dart): `lib/utils/file_saver_mobile.dart`
- [Web saver](https://github.com/pixelated-brain/project24-pro/blob/main/lib/utils/file_saver_web.dart): `lib/utils/file_saver_web.dart`

### Other components

- **User**
