/flutter_modular_architecture

Modular architecture template for flutter app

Primary LanguageDart

flutter_modular_architecture

A Flutter project for testing modular architecture.

Getting Started

This project is a mono repository for a Flutter application splitted in different packages.

There are the main app app project, a "core" directory with some basic packages and a "features" directory that should contains the features packages.

  • CORE: Inside the core directory there are the packages needed by almost all features
  • FEATURES: Inside the features directory there are all the app features

The bootstrap of the project is handled by MELOS To use it you should configure melos command on your machine following this instructions: https://docs.page/invertase/melos/getting-started

Development setup and IDE configurations

Install flutter SDK following the step https://flutter.dev/docs/get-started/install The flutter channel used is the stable one version 2.2.2 The default IDE used is Android Studio version 4.2.1. Actually we use the Bloc plugin to generate boilerplate code for CLoC state management https://plugins.jetbrains.com/plugin/12129-bloc Enable inside the android studio preferences -> Language & Frameworks -> Flutter the options

  • Format code on save
  • Organize imports on save