In this article, I will be discussing some of the points which should be kept in mind while developing an app. It is always a good practice to write apps that are scalable and maintainable.


I will be covering the following topics in this article:

  1. Setting up the development/production environment
  2. Best practices for writing clean code
  3. Testing, debugging, and monitoring
  4. Distribution of the app through CI/CD

Setting up the environment

Git Version control and branching strategy

Version control allows you to keep track of any file changes and identify differences in your code. It is a handy tool while working in a team. But it can become chaotic very quickly if everyone starts committing changes to the master branch. Thus, there should be specific branches defined for different purposes. A straightforward convention is to have three branches :

  • **master: **The production-ready code goes here.
  • **develop: **The code on which final tests are done before merging to master branch
  • **feature-specific branch: **These are the branches with the name of the feature that is currently being worked on

#flutter #dart #production-ready

Making Production-Ready apps in Flutter
5.85 GEEK