VSCode provides a simple way to create and run your custom Flutter configurations. We could add configurations for the default Flutter run builds for debug, profile and release, but imagine having different product flavors like a free and a pro version.

Example of the Flutter configurations for the different product flavors

A thing you should know

In this example there are already different product flavors in your Flutter project, more info about flavor builds on flutter.dev. In this article there will be two product flavors a free and a pro version of an application. In this example app there are two main files: main.dart and main_pro.dart. These are optional, it depends if the pro version of the app uses e.g. another main widget.

Ready, set and 🏃