flavorizer_config 0.0.3
flavorizer_config: ^0.0.3 copied to clipboard
A new flutter utility to easily create flavors in your flutter application.
Getting started #
With null-safety
dependencies:
flavorizer_config: ^1.0.3
Add the dependency to your project and start using flavorizer_config #
Importing the package #
import 'package:flavorizer_config/flavorizer_config.dart';
Usage #
To use this plugin, add flavorizer_config as a dependency in your pubspec.yaml file.
Example #
Here are an example that show you how to use this plugin.
main.dart #
final flavorVariablesModel = FlavorVariablesModel()
..title = 'Development App'
..iconPath = 'assets/images/icon.png'
..appId = 'com.flavor.app'
..baseUrl = 'https//www.flavor.com'
..description = 'Production Flavor';
FlavorizerConfig(
title: 'Development',
flavor: Flavors.dev,
variables: flavorVariablesModel.toJson());
Improve #
Help me by reporting bugs, submit new ideas for features or anything else that you want to share.
- Just write an issue on GitHub. ✏️
- And don't forget to hit the like button for this package ✌️
More #
Check out my other useful packages on pub.dev