# spg-9900/flutoryx architecture

> Architecture diagram of the GitHub repository spg-9900/flutoryx, 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/spg-9900/flutoryx
- Repository: https://github.com/spg-9900/flutoryx

## Overview

Flutoryx is a Flutter UI component library, not a standalone application. Developers import its public API and compose widgets into their Flutter screens; the README example configures light/dark themes and places an AppButton in a MaterialApp. The graph groups the library’s documented component families and shared styling utilities. Source excerpts were not provided, so internal calls and exports cannot be verified; the documented usage relationships are cited to the README.

Main entry points: [`lib`](https://github.com/spg-9900/flutoryx/tree/main/lib) (Library entry points), [`lib/src/theme/app_theme.dart`](https://github.com/spg-9900/flutoryx/blob/main/lib/src/theme/app_theme.dart) (App theme), [`lib/src/components/buttons`](https://github.com/spg-9900/flutoryx/tree/main/lib/src/components/buttons) (Buttons)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_api["Public API"]
  node_public_api["Library entry points"]
end

subgraph group_design["Design Foundation"]
  node_theme["App theme<br/>[app_theme.dart]"]
  node_colors["Color palettes<br/>[colors.dart]"]
  node_typography["Typography<br/>[typography.dart]"]
  node_spacing_radius["Spacing and radius"]
end

subgraph group_components["UI Components"]
  node_buttons["Buttons"]
  node_inputs["Inputs and forms"]
  node_navigation["Navigation"]
  node_feedback["Feedback and status"]
  node_layout["Layout and containers"]
  node_containers["Cards and scratchcards"]
  node_media["Media and content"]
  node_text["Text<br/>[app_text.dart]"]
end

subgraph group_utilities["Utilities"]
  node_extensions["Flutter extensions<br/>[extensions.dart]"]
  node_validators["Validators<br/>[validators.dart]"]
end

node_developer(("Flutter developer"))

node_developer -->|"imports library"| node_public_api
node_developer -->|"configures theme"| node_theme
node_developer -->|"uses button"| node_buttons

click node_public_api "https://github.com/spg-9900/flutoryx/tree/main/lib"
click node_theme "https://github.com/spg-9900/flutoryx/blob/main/lib/src/theme/app_theme.dart"
click node_colors "https://github.com/spg-9900/flutoryx/blob/main/lib/src/foundation/colors.dart"
click node_typography "https://github.com/spg-9900/flutoryx/blob/main/lib/src/foundation/typography.dart"
click node_spacing_radius "https://github.com/spg-9900/flutoryx/tree/main/lib/src/foundation"
click node_buttons "https://github.com/spg-9900/flutoryx/tree/main/lib/src/components/buttons"
click node_inputs "https://github.com/spg-9900/flutoryx/tree/main/lib/src/components/inputs"
click node_navigation "https://github.com/spg-9900/flutoryx/tree/main/lib/src/components/navigation"
click node_feedback "https://github.com/spg-9900/flutoryx/tree/main/lib/src/components/feedback"
click node_layout "https://github.com/spg-9900/flutoryx/tree/main/lib/src/components/layout"
click node_containers "https://github.com/spg-9900/flutoryx/tree/main/lib/src/components/containers"
click node_media "https://github.com/spg-9900/flutoryx/tree/main/lib/src/components/media"
click node_text "https://github.com/spg-9900/flutoryx/blob/main/lib/src/components/text/app_text.dart"
click node_extensions "https://github.com/spg-9900/flutoryx/blob/main/lib/src/utils/extensions.dart"
click node_validators "https://github.com/spg-9900/flutoryx/blob/main/lib/src/utils/validators.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_public_api toneBlue
class node_theme,node_colors,node_typography,node_spacing_radius toneAmber
class node_buttons,node_inputs,node_navigation,node_feedback,node_layout,node_containers,node_media,node_text toneMint
class node_extensions,node_validators toneRose
class node_developer toneIndigo
```

## Components

### Public API

- [Library entry points](https://github.com/spg-9900/flutoryx/tree/main/lib): `lib`

### Design Foundation

- [App theme](https://github.com/spg-9900/flutoryx/blob/main/lib/src/theme/app_theme.dart): `lib/src/theme/app_theme.dart`
- [Color palettes](https://github.com/spg-9900/flutoryx/blob/main/lib/src/foundation/colors.dart): `lib/src/foundation/colors.dart`
- [Typography](https://github.com/spg-9900/flutoryx/blob/main/lib/src/foundation/typography.dart): `lib/src/foundation/typography.dart`
- [Spacing and radius](https://github.com/spg-9900/flutoryx/tree/main/lib/src/foundation): `lib/src/foundation`

### UI Components

- [Buttons](https://github.com/spg-9900/flutoryx/tree/main/lib/src/components/buttons): `lib/src/components/buttons`
- [Inputs and forms](https://github.com/spg-9900/flutoryx/tree/main/lib/src/components/inputs): `lib/src/components/inputs`
- [Navigation](https://github.com/spg-9900/flutoryx/tree/main/lib/src/components/navigation): `lib/src/components/navigation`
- [Feedback and status](https://github.com/spg-9900/flutoryx/tree/main/lib/src/components/feedback): `lib/src/components/feedback`
- [Layout and containers](https://github.com/spg-9900/flutoryx/tree/main/lib/src/components/layout): `lib/src/components/layout`
- [Cards and scratchcards](https://github.com/spg-9900/flutoryx/tree/main/lib/src/components/containers): `lib/src/components/containers`
- [Media and content](https://github.com/spg-9900/flutoryx/tree/main/lib/src/components/media): `lib/src/components/media`
- [Text](https://github.com/spg-9900/flutoryx/blob/main/lib/src/components/text/app_text.dart): `lib/src/components/text/app_text.dart`

### Utilities

- [Flutter extensions](https://github.com/spg-9900/flutoryx/blob/main/lib/src/utils/extensions.dart): `lib/src/utils/extensions.dart`
- [Validators](https://github.com/spg-9900/flutoryx/blob/main/lib/src/utils/validators.dart): `lib/src/utils/validators.dart`

### Other components

- **Flutter developer**

## Connections

- Flutter developer → Library entry points: imports library (evidence: `README.md`)
- Flutter developer → App theme: configures theme (evidence: `README.md`)
- Flutter developer → Buttons: uses button (evidence: `README.md`)
