Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Documents Clean Architecture for Flutter apps: repository pattern, use cases, GetIt/Injectable DI, Either/Failure errors, and testing.
36% 77%+41 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 8 of 22 without it.
3 of 3 safety checks passed
Not used yet
Testable, maintainable Flutter applications built on SOLID principles, DDD, and a mobile-first mindset.
┌─────────────────────────────────────────────────────┐
│ PRESENTATION LAYER │
│ Screens → Widgets → BLoC/Cubit/Provider │
│ (UI state management, user interactions) │
├─────────────────────────────────────────────────────┤
│ DOMAIN LAYER │
│ Entities → Use Cases → Repository Interfaces │
│ (Business logic — platform independent) │
├─────────────────────────────────────────────────────┤
│ DATA LAYER │
│ Models → Repository Implementations → Data Sources │
│ (API, local DB, cache) │
└─────────────────────────────────────────────────────┘
DEPENDENCY DIRECTION: Presentation → Domain ← Data
The Domain layer depends on nothing.
lib/
├── core/
│ ├── di/
│ │ └── injection.dart
│ ├── error/
│ │ ├── exceptions.dart
│ │ └── failures.dart
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.