A new Flutter project.
- Fork this repo
- Clone the repo
-
Presentation Folder -> this folder will contain all the code for screen UI (in Presentation/Screen Folder) and some common widgets (under Presentation/Widgets Folder).
-
Buisness_Logic Folder -> This Folder will have all the logical components of our application. BLOC will be used for state management purpose.
-
Data Folder -> This Folder contains Data_Provider, Models and Repositories as subFolder.
-
Data_Provider encapsulates all the source files from where data needs to be fetched like an API, or from Database
-
Repositories transforms the data fetched by Data_Provider into a model using the Models made in Model Folder.
-
Presentation Layer asks for any sort of Data From Buisness_Logic Layer which in turn Send this request to Data Layer
-
Here, Under Data layer Repositories Folder models the data fetched by data_provider layer and sends back to Buisness_logic layer which is returned to Presentation Layer which then gets rendered on the screen.
- After Cloning this repo into your local system
- Create a branch from master and switch into it - git checkout -b your-name/feature-name (eg: git checkout -b sahil/building_HomeScreen)
- it needs to be kept in your mind no code should be commited on the master branch.
- do your work in your feature branch.
- once done, add all changes using this command --> git add .
- then run: git commit -m "short description of your work"
- git push origin master
- Create a PR