# jeromsundar/jm_multistep_form architecture

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

- Interactive diagram: https://gitdiagram.com/jeromsundar/jm_multistep_form
- Repository: https://github.com/jeromsundar/jm_multistep_form

## Overview

jm_multistep_form is a small Flutter widget package for composing multi-step forms. The documented workflow is that a consuming app selects step content, displays a step indicator and input widgets, and uses navigation buttons to change steps or submit. The README documents text, dropdown, and date inputs, but no source excerpts were provided, so implementation-level validation behavior and internal call relationships cannot be confirmed; the graph shows only documented composition and callbacks.

Main entry points: [`lib/widgets/naveBTN.dart`](https://github.com/jeromsundar/jm_multistep_form/blob/Jerom/lib/widgets/naveBTN.dart) (Navigation buttons), [`lib/widgets/textfield.dart`](https://github.com/jeromsundar/jm_multistep_form/blob/Jerom/lib/widgets/textfield.dart) (Text field), [`lib/widgets/dropdownffield.dart.dart`](https://github.com/jeromsundar/jm_multistep_form/blob/Jerom/lib/widgets/dropdownffield.dart.dart) (Dropdown field), [`lib/widgets/datefield.dart`](https://github.com/jeromsundar/jm_multistep_form/blob/Jerom/lib/widgets/datefield.dart) (Date field)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_controls["Form controls"]
  node_text["Text field<br/>[textfield.dart]"]
  node_dropdown["Dropdown field"]
  node_date["Date field<br/>[datefield.dart]"]
end

subgraph group_steps["Step navigation"]
  node_navigation["Navigation buttons<br/>[naveBTN.dart]"]
  node_indicator["Step indicator"]
end

node_app(("Consuming app"))

node_app -->|"composes"| node_text
node_app -->|"composes"| node_dropdown
node_app -->|"composes"| node_date
node_app -->|"composes"| node_navigation
node_app -->|"displays"| node_indicator
node_navigation -->|"signals changes"| node_app

click node_text "https://github.com/jeromsundar/jm_multistep_form/blob/Jerom/lib/widgets/textfield.dart"
click node_dropdown "https://github.com/jeromsundar/jm_multistep_form/blob/Jerom/lib/widgets/dropdownffield.dart.dart"
click node_date "https://github.com/jeromsundar/jm_multistep_form/blob/Jerom/lib/widgets/datefield.dart"
click node_navigation "https://github.com/jeromsundar/jm_multistep_form/blob/Jerom/lib/widgets/naveBTN.dart"
click node_indicator "https://github.com/jeromsundar/jm_multistep_form/blob/Jerom/lib/widgets/step_indicator.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_text,node_dropdown,node_date toneBlue
class node_navigation,node_indicator toneAmber
class node_app toneIndigo
```

## Components

### Form controls

- [Text field](https://github.com/jeromsundar/jm_multistep_form/blob/Jerom/lib/widgets/textfield.dart): `lib/widgets/textfield.dart`
- [Dropdown field](https://github.com/jeromsundar/jm_multistep_form/blob/Jerom/lib/widgets/dropdownffield.dart.dart): `lib/widgets/dropdownffield.dart.dart`
- [Date field](https://github.com/jeromsundar/jm_multistep_form/blob/Jerom/lib/widgets/datefield.dart): `lib/widgets/datefield.dart`

### Step navigation

- [Navigation buttons](https://github.com/jeromsundar/jm_multistep_form/blob/Jerom/lib/widgets/naveBTN.dart): `lib/widgets/naveBTN.dart`
- [Step indicator](https://github.com/jeromsundar/jm_multistep_form/blob/Jerom/lib/widgets/step_indicator.dart): `lib/widgets/step_indicator.dart`

### Other components

- **Consuming app**

## Connections

- Consuming app → Text field: composes (evidence: `README.md`)
- Consuming app → Dropdown field: composes (evidence: `README.md`)
- Consuming app → Date field: composes (evidence: `README.md`)
- Consuming app → Navigation buttons: composes (evidence: `README.md`)
- Consuming app → Step indicator: displays (evidence: `README.md`)
- Navigation buttons → Consuming app: signals changes (evidence: `README.md`)
