# zacksleo/awesome-harmonyos-flutter architecture

> Architecture diagram of the GitHub repository zacksleo/awesome-harmonyos-flutter, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-04-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/zacksleo/awesome-harmonyos-flutter
- Repository: https://github.com/zacksleo/awesome-harmonyos-flutter

## Overview

##### Project type and purpose
- This is an open‑source documentation/tutorial repository (no application code, no “src” folder).
- Its goal is to teach developers how to adapt Flutter to different environments:
- HarmonyOS (Flutter modules and native ArkTS services)
- FlutterWeb integration
- Windows‑specific Flutter engine patches

##### File structure
- Top‑level entries:
- README.md (landing page and index of tutorials)
- LICENSE, .gitignore
- Four content folders:
– “鸿蒙 Flutter 实战” (20+ Markdown lessons on HarmonyOS with Flutter)
– “鸿蒙原生开发” (5+ native ArkTS/HarmonyOS service tutorials)
– “FlutterWeb” (7 Markdown lessons on Flutter Web integration)
– “FlutterWin7” (three diff patches to Dart & Flutter engine for Win7 and a README)
- Sub‑folders named “figures” or “.figures” house images used in the docs.
- No build scripts: content is pure Markdown, likely published via GitHub Pages or similar.

##### README for additional insights
- The README organizes three streams of content with links.
- External references: Gitee repos for sample code, WeChat QR code for the community.
- No explicit architecture or build instructions—this is purely a content repo.

##### Elements
- Clear labels: e.g., “HarmonyOS Flutter Tutorials,” “Static Site Publisher.”
- Navigation flows (Landing Page → Module folders)
- Data/assets flows (Markdown + Figures → Static Site)
- External calls (FlutterWeb → WeChat JS‑SDK)
- Blue rectangles for “Content modules”
- Orange hexagons for “External services”
- Grey trapezoid for “Site Delivery Pipeline”

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Content Modules
    LandingPage["Landing Page\n(README.md)"]:::content
    ModuleA["HarmonyOS Flutter Tutorials"]:::content
    ModuleB["HarmonyOS Native (ArkTS) Tutorials"]:::content
    ModuleC["FlutterWeb Tutorials"]:::content
    ModuleD["Flutter Win7 Patch Diffs"]:::content

    %% Asset Stores
    AssetsA(("Figures\n(folder)")):::asset
    Impeller(("Impeller Examples\n(folder)")):::asset
    AssetsC(("Figures\n(folder)")):::asset

    %% Delivery Pipeline
    Publisher[/"Static Site Publisher"/]:::pipeline
    Website["Published Website"]:::pipeline

    %% External Services
    Gitee{{"Gitee Sample Repos"}}:::external
    WeChat{{"WeChat JS-SDK"}}:::external
    FlutterSDK{{"Flutter SDK 3.22.0"}}:::external
    ArkTS{{"ArkTS Runtime"}}:::external
    Plugins{{"3rd-party Flutter Plugins"}}:::external

    %% Navigation Flows
    LandingPage --> ModuleA
    LandingPage --> ModuleB
    LandingPage --> ModuleC
    LandingPage --> ModuleD

    %% Assets & Demos
    ModuleA --> AssetsA
    ModuleA --> Impeller
    ModuleC --> AssetsC

    %% External Dependencies
    ModuleA --> FlutterSDK
    ModuleA --> Plugins
    ModuleB --> ArkTS
    ModuleB --> Plugins
    ModuleC --> FlutterSDK
    ModuleC --> Plugins
    ModuleC --> WeChat
    ModuleB --> Gitee
    ModuleD --> FlutterSDK

    %% Publishing Pipeline
    LandingPage --> Publisher
    ModuleA --> Publisher
    ModuleB --> Publisher
    ModuleC --> Publisher
    ModuleD --> Publisher
    Publisher --> Website

    %% Click Events
    click LandingPage "https://github.com/zacksleo/awesome-harmonyos-flutter/blob/master/README.md"
    click ModuleA "https://github.com/zacksleo/awesome-harmonyos-flutter/tree/master/鸿蒙 Flutter 实战/"
    click AssetsA "https://github.com/zacksleo/awesome-harmonyos-flutter/tree/master/鸿蒙 Flutter 实战/figures/"
    click Impeller "https://github.com/zacksleo/awesome-harmonyos-flutter/tree/master/鸿蒙 Flutter 实战/impeller/"
    click ModuleB "https://github.com/zacksleo/awesome-harmonyos-flutter/tree/master/鸿蒙原生开发/"
    click ModuleC "https://github.com/zacksleo/awesome-harmonyos-flutter/tree/master/FlutterWeb/"
    click AssetsC "https://github.com/zacksleo/awesome-harmonyos-flutter/tree/master/FlutterWeb/.figures/"
    click ModuleD "https://github.com/zacksleo/awesome-harmonyos-flutter/tree/master/FlutterWin7/"

    %% Styles
    classDef content fill:#ADD8E6,stroke:#333,stroke-width:1px
    classDef asset fill:#90EE90,stroke:#333,stroke-width:1px
    classDef external fill:#FFA500,stroke:#333,stroke-width:1px
    classDef pipeline fill:#D3D3D3,stroke:#333,stroke-width:1px
```
