This package is a fork of Develapps clean architecture which was created by Felipe Gadea Llopis and sponsored by Develapps.
The fork is developed by ChrisElliotUK.
This is an extension for developing mobile software with clean architecture focused on flutter. It works with others, it is simply a software architecture. With this extension we make easy to work with clean architecture and we help developers to develope flutter projects focused on clean architecture.
Compile your code:
npm run compile
Then build the backage:
vsce package
This package has two functionalities, auto generates project structure and auto generates a custom feature structure.
-
With auto generating project structure, the extension creates the following folders and files structure:
... lib/ api/ common/ app_colors.dart app_routes.dart app_text_styles.dart app_themes.dart image_resources.dart core/ error/ platform/ usecase/ di/ features/ sample/ data/ datasources/ models/ repositories/ domain/ entities/ repositories/ usecases/ presentation/ bloc/ screens/ sample_screen.dart widgets/ ... And the same for test directoriy. -
With custom feature generation the following folders and files structure is generates on features/ dir with a name givem by the user:
... your_feature_name/ data/ datasources/ models/ repositories/ domain/ entities/ repositories/ usecases/ presentation/ bloc/ screen/ your_feature_name_screen.dart widgets/ ...
The extension works also on command paletter but the easy way for using it is right clic on project directories.
It is recomendable to have installed flutter_bloc package
This extensions is under development and we will read your suggestions.
Update pages to screens. Change the generated widget to a stateless widget.
First version of Develapps clean architecture.