Member-only story
Flutter Flavors
Flavor refers to the concept of creating variations or configurations of your app for different environments or purposes from the same codebase or from single project. These variations can include different BASE_URLs, logos, branding, themes, features, name, and many other configurations specific to a particular environments all in single project.
In Flutter, you can create flavor either manually or by using the following packages:
The way of creating flavors manually has already been mentioned above. If you proceed with manual steps then you have to do a lot of changes and define more for both Android and iOS like application_id, icon, res files, info.plist, target_files, and many more.
To avoid all these, its better to use packages. It will create all the configurations with a single command.
My one of the favourite package is flutter_flavorizr.
Let’s start with flutter_flavorizr.
Steps to create flavors
$ [sudo] gem install xcodeproj








