# mberrr-pale/teranusa architecture

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

- Interactive diagram: https://gitdiagram.com/mberrr-pale/teranusa
- Repository: https://github.com/mberrr-pale/teranusa

## Overview

Teranusa is a minimal Flutter mobile-app starter; the README describes no product-specific features. The expected user flow is launching the Flutter app, but the Dart sources were not provided, so links between its entry point and app widget are unverified. The sampled Android activity is a Flutter host. This map excludes build and test files; it does not infer UI behavior or additional capabilities.

Main entry points: [`lib/main.dart`](https://github.com/mberrr-pale/teranusa/blob/main/lib/main.dart) (App entry), [`android/app/src/main/kotlin/id/teranusa/teranusa/MainActivity.kt`](https://github.com/mberrr-pale/teranusa/blob/main/android/app/src/main/kotlin/id/teranusa/teranusa/MainActivity.kt) (Main activity), [`lib/app.dart`](https://github.com/mberrr-pale/teranusa/blob/main/lib/app.dart) (App widget)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_flutter_app["Flutter app"]
  node_flutter_entry["App entry<br/>[main.dart]"]
  node_app_widget["App widget<br/>[app.dart]"]
end

subgraph group_android_host["Android host"]
  node_android_activity["Main activity<br/>[MainActivity.kt]"]
end

node_user(("User"))
node_flutter_runtime["Flutter runtime"]

node_user -.->|"launches"| node_flutter_entry
node_flutter_entry -.->|"starts"| node_app_widget
node_android_activity -->|"extends FlutterActivity"| node_flutter_runtime

click node_flutter_entry "https://github.com/mberrr-pale/teranusa/blob/main/lib/main.dart"
click node_app_widget "https://github.com/mberrr-pale/teranusa/blob/main/lib/app.dart"
click node_android_activity "https://github.com/mberrr-pale/teranusa/blob/main/android/app/src/main/kotlin/id/teranusa/teranusa/MainActivity.kt"

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_flutter_entry,node_app_widget,node_user toneBlue
class node_android_activity toneAmber
class node_flutter_runtime toneIndigo
```

## Components

### Flutter app

- [App entry](https://github.com/mberrr-pale/teranusa/blob/main/lib/main.dart): `lib/main.dart`
- [App widget](https://github.com/mberrr-pale/teranusa/blob/main/lib/app.dart): `lib/app.dart`

### Android host

- [Main activity](https://github.com/mberrr-pale/teranusa/blob/main/android/app/src/main/kotlin/id/teranusa/teranusa/MainActivity.kt): `android/app/src/main/kotlin/id/teranusa/teranusa/MainActivity.kt`

### Other components

- **User**
- **Flutter runtime**

## Connections

- User → App entry: launches
- App entry → App widget: starts
- Main activity → Flutter runtime: extends FlutterActivity (evidence: `android/app/src/main/kotlin/id/teranusa/teranusa/MainActivity.kt`)
