{"repo":"AngeloAvv/flutter_flavorizr","free":true,"listed":false,"github":"https://github.com/AngeloAvv/flutter_flavorizr","clone":"git clone https://github.com/AngeloAvv/flutter_flavorizr.git","description":"A flutter utility to easily create flavors in your flutter application","language":"Dart","stars":570,"topics":["flutter-utility","flutter","android","ios","flavors","dartlang","dart","flutter-plugin","cross-platform","flutter-plugins"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Flutter Flavorizr A flutter utility to easily create flavors in your flutter application If you want to support this project, please leave a star, share this project, or consider donating through Github Sponsor. Getting Started Let's start by setting up our environment in order to run Flutter Flavorizr Prerequisites Side note: this tool works better on a new and clean Flutter project. Since some processors reference some existing files and a specific base structure, it could be possible that running Flutter Flavorizr over an existing project could throw errors. Installation This package is intended to support development of Flutter projects. In general, put it under dev dependencies, in your pubspec.yaml: You can install packages from the command line: Create your flavors Once you have added flutter flavorizr as a dev dependency, you have to edit your pubspec.yaml and define the flavors. Example Create a new file named flavorizr.yaml and define the name of the flavors, in our example apple and banana . For each flavor you have to specify the app name , the applicationId and the bundleId . Alternatively, add a new key named flavorizr and define a sub item named flavors . Under the flavors array you can define the name of the flavors, in our example apple and banana . For each flavor you have to specify the app name , the applicationId and the bundleId . This way of defining flavors will be deprecated in versions 3.x Available fields flavorizr key type default required descript","default_branch":null,"files":null,"tree":[],"storefront":"/r/AngeloAvv","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AngeloAvv/flutter_flavorizr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}