Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.15 KB

File metadata and controls

33 lines (25 loc) · 1.15 KB

DevXP Flutter projects

This repo holds all the Flutter projects that DevXP Flutter developers made in 2023

Getting Started

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.

Project Structure

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:
  1. data.dart where all the data markups and dummy data should leave
  2. utils.dart for methods the would be used with that app
  3. theme.dart where all theming should happen
  • Utils functions that can be shared accross projects should be in the shared folder

Running the project

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