flavorizer_config 0.0.4 copy "flavorizer_config: ^0.0.4" to clipboard
flavorizer_config: ^0.0.4 copied to clipboard

A new flutter utility to easily create flavors in your flutter application.

Getting started #

With null-safety

      dependencies:
          flavorizer_config: ^0.0.4

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'
    ..baseUrl = 'https//www.flavor.com'
    ..description = 'Production Flavor';
  FlavorizerConfig(
      appTitle: '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

0
likes
140
pub points
4%
popularity

Publisher

verified publisherghoneem.com

A new flutter utility to easily create flavors in your flutter application.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flavorizer_config