Generates a Flutter/Dart directories with Clean Architecture Structure.
- Must have Flutter installed in your machine
mason make get_clean_archi
Variable | Description | Default | Type |
---|---|---|---|
name |
Name of the app | Dash |
string |
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