Last updated:
0 purchases
flavorizer config
Getting started #
With null-safety
dependencies:flavorizer_config: ^0.0.5
copied to clipboard
Add the dependency to your project and start using flavorizer_config #
Importing the package #
import 'package:flavorizer_config/flavorizer_config.dart';
copied to clipboard
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 #
FlavorizerConfig
(
appTitle: 'Development',
flavor: Flavors.dev,
variables: {'title':'Development App',
'baseUrl':'https//www.flavor.com','description':'Development Flavor',});
copied to clipboard
final flavorVariablesModel = FlavorVariablesModel()
..title = 'Development App'
..baseUrl = 'https//www.flavor.com'
..description = 'Development Flavor';
FlavorizerConfig
(
appTitle: 'Development',
flavor: Flavors.dev,
variables: flavorVariablesModel.toJson());
copied to clipboard
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.