Generate the Clean-Architecture directory structure from Robert C. Martin (Uncle Bob) in your flutter projects. It is inspired by @ResoCoder Clean Architecture for Flutter Course.
- Android Studio / IntelliJ IDEA -> Plugins -> Browse repositories
- Search: Clean Architecture for Flutter
- Install
- Restart IDE
- Right click on or anywhere in your destination folder
- New -> Clean Generator -> Flutter
- Enter [feature_name] in the dialog or let it be empty to create structure in current directory
- Optional: Use the checkbox to split the data_sources folder into local and remote
Right-click | Enter [feature_name] | generated |
---|---|---|
- [feature_name]
- data
- [Two variants]
- [Checkbox checked]
- local
- data_sources
- models
- remote
- data_sources
- models
- local
- [Checkbox unchecked]
- data_sources
- models
- [Checkbox checked]
- repositories
- [Two variants]
- domain
- entities
- use_cases
- repositories
- presentation
- manager
- pages
- widgets
- data