Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 1.13 KB

README.md

File metadata and controls

54 lines (42 loc) · 1.13 KB

get_clean_archi

get_clean_archi

Generates a Flutter/Dart directories with Clean Architecture Structure.

Requirements

  • Must have Flutter installed in your machine

Usage 🚀

mason make get_clean_archi

Variables ✨

Variable Description Default Type
name Name of the app Dash string

Output 📦

A flutter app with the following structure in the lib folder

|--data
|    |--datasources
|    |   |--datasources.dart
|    |--models
|    |   |--models.dart
|    |--data.dart
|--domain
|    |--logic
|    |  |--logic.dart   
|    |--rest_client
|    |  |--rest_client.dart
|    |--domain.dart
|--presentation
|   |--bindings
|    |  |--binding.dart
|    |--screen
|    |  |--screen.dart
|    |--views
|    |  |--view.dart
|    |--widgets
|    |  |--widget.dart
|    |--presentation.dart
|--name.dart

## Failure
Failure could be 
    typedef Failure = String