flutter-app-architecture
Installation
SKILL.md
Flutter App Architecture Skill
This skill defines how to structure Flutter applications using layered architecture, proper data flow, and MVVM patterns for maintainability and testability.
When to Use
Use this skill when:
- Scaffolding a new Flutter project with layered architecture.
- Creating or refactoring View Models, Repositories, or Services.
- Wiring dependency injection between architectural components.
- Implementing unidirectional data flow across layers.
- Adding a Domain (Logic) Layer for complex business logic or shared use cases.
1. Layer Structure
Separate every app into a UI Layer and a Data Layer. Add a Logic (Domain) Layer only for complex apps.