# mohamednasrsafi175/contactapp architecture

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

- Interactive diagram: https://gitdiagram.com/mohamednasrsafi175/contactapp
- Repository: https://github.com/mohamednasrsafi175/contactapp

## Overview

This is a small Flutter contact-app scaffold. The tree names a home screen, a bottom-sheet screen, contact and form widgets, and shared styling resources, but no Dart source was excerpted and the README describes no behavior. The graph therefore identifies the apparent UI components without asserting screen transitions or data operations; those relationships cannot be verified from the available evidence.

Main entry points: [`lib/main.dart`](https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/main.dart) (Flutter app), [`lib/screen/home_screen.dart`](https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/screen/home_screen.dart) (Home screen)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_screens["App screens"]
  node_app["Flutter app<br/>[main.dart]"]
  node_home["Home screen<br/>[home_screen.dart]"]
  node_bottom_sheet["Bottom sheet"]
end

subgraph group_widgets["Reusable UI"]
  node_contact_card["Contact card"]
  node_button["Button<br/>[button.dart]"]
  node_readonly_field["Read-only field"]
  node_text_field["Text field"]
end

subgraph group_shared["Shared presentation"]
  node_colors["App colors<br/>[app_color.dart]"]
  node_fonts["App fonts<br/>[app_font.dart]"]
  node_images["App images<br/>[app_image.dart]"]
end

node_user(("App user"))

node_user -.->|"uses"| node_app
node_app -.->|"opens"| node_home

click node_app "https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/main.dart"
click node_home "https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/screen/home_screen.dart"
click node_bottom_sheet "https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/screen/bottom_sheet_screen.dart"
click node_contact_card "https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/widgets/contact_card_widget.dart"
click node_button "https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/widgets/button.dart"
click node_readonly_field "https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/widgets/text_field_only_read.dart"
click node_text_field "https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/widgets/text_from_field.dart"
click node_colors "https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/utils/app_color.dart"
click node_fonts "https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/utils/app_font.dart"
click node_images "https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/utils/app_image.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_app,node_home,node_bottom_sheet,node_user toneBlue
class node_contact_card,node_button,node_readonly_field,node_text_field toneAmber
class node_colors,node_fonts,node_images toneMint
```

## Components

### App screens

- [Flutter app](https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/main.dart): `lib/main.dart`
- [Home screen](https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/screen/home_screen.dart): `lib/screen/home_screen.dart`
- [Bottom sheet](https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/screen/bottom_sheet_screen.dart): `lib/screen/bottom_sheet_screen.dart`

### Reusable UI

- [Contact card](https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/widgets/contact_card_widget.dart): `lib/widgets/contact_card_widget.dart`
- [Button](https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/widgets/button.dart): `lib/widgets/button.dart`
- [Read-only field](https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/widgets/text_field_only_read.dart): `lib/widgets/text_field_only_read.dart`
- [Text field](https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/widgets/text_from_field.dart): `lib/widgets/text_from_field.dart`

### Shared presentation

- [App colors](https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/utils/app_color.dart): `lib/utils/app_color.dart`
- [App fonts](https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/utils/app_font.dart): `lib/utils/app_font.dart`
- [App images](https://github.com/mohamednasrsafi175/contactapp/blob/master/lib/utils/app_image.dart): `lib/utils/app_image.dart`

### Other components

- **App user**

## Connections

- App user → Flutter app: uses
- Flutter app → Home screen: opens
