This repo holds all the Flutter projects that DevXP Flutter developers made in 2023
This project is a monorepo. We use Melos. Please read through how it works in order to get start. And for better code completion, install the Melos VS code extension.
The project structure is a bit different for the normal Flutter project structure
- All apps are kept under the apps/{cohort_name} dir. Eg. apps/ch3 for cohort 3. From there everything is pretty much the same
- Every app should have a utils folder where:
- data.dart where all the data markups and dummy data should leave
- utils.dart for methods the would be used with that app
- theme.dart where all theming should happen
- Utils functions that can be shared accross projects should be in the shared folder
To run the project, you need to
- Install Melos by running
dart pub global activate melos
- Run
melos bs
- Run
melos run <your_cohort_tag>
Eg. ch3