flutter-layer-based-clean-architecture
OfficialStructure Flutter apps with clean architecture.
Software Engineering#architecture#ddd#domain-driven-design#flutter#clean-architecture#dependency-injection
Authorwildbitca
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Layer-based clean architecture helps Flutter teams avoid tangled dependencies by enforcing a strict Domain-Driven Design separation (Domain, Infrastructure, Application, and Presentation) so teams can reason about entities, repositories, mappers, and UI components independently and scale.
Core Features & Use Cases
- Dependency flow: Presentation -> Application -> Domain <- Infrastructure; inward dependencies.
- Pure Domain: No Flutter or Infrastructure dependencies in domain layer; DTOs mapped in infrastructure.
- DTO mapping: Infrastructure maps DTOs to Domain Entities for UI safety.
- IoC: Use get_it for injecting repository implementations into BLoCs/Cubits.
- Anti-Patterns: No DTOs in UI; No Material in Domain; No Shared Prefs in Repo.
Quick Start
Organize a new Flutter project into domain, infrastructure, application, and presentation layers and implement the layer-based architecture.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: flutter-layer-based-clean-architecture Download link: https://github.com/wildbitca/ai-resources/archive/main.zip#flutter-layer-based-clean-architecture Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.