Files
Krow-workspace/docs/prompts/create-mermaid-overview-flutter.md

22 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## What the prompt does
This prompt generates a Mermaid diagram that provides an overview of the given Flutter application's architecture. It includes the main components of the app, such as the widget tree, state management, and navigation.
## Assumptions
- Flutter project is given.
## Prompt
In the given Flutter project. Carefully analyze all files to understand the apps navigation, logic flow, state management, and how each screen connects to the next.
Using that analysis, generate a **Mermaid flowchart** that shows:
* The apps entry point (main.dart → root widget).
* The initial flow (e.g., splash → login/signup → authenticated home).
* All pages/screens and how navigation occurs between them.
* Conditional routing logic (authentication checks, API responses, state changes, etc.).
* Any loops, flows, or background logic that impact navigation.
* The diagram must accurately reflect the project structure and not make assumptions beyond what is found in the code.
Use **Mermaid `flowchart TD` or `flowchart LR`** format, with clear labels for each screen and logic decision.
If needed, ask me for missing files so you can produce a complete diagram.