flavors_yaml_merger 1.0.6
flavors_yaml_merger: ^1.0.6 copied to clipboard
A package to help building flavored apps without the need to manually remove other flavor content from yaml file.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate flavors_yaml_mergerUse it
The package has the following executables:
$ flavors_yaml_merger
$ restore_backup_yaml
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flavors_yaml_mergerWith Flutter:
$ flutter pub add flavors_yaml_mergerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flavors_yaml_merger: ^1.0.6Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flavors_yaml_merger/flavors_yaml_merger.dart';