easy_flavor 0.1.1 copy "easy_flavor: ^0.1.1" to clipboard
easy_flavor: ^0.1.1 copied to clipboard

A CLI that sets up Flutter flavors (dev, staging, prod, ...) for Android and iOS in new or existing projects, with optional Firebase integration.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate easy_flavor

Use it

The package has the following executables:

$ easy_flavor

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add easy_flavor

With Flutter:

 $ flutter pub add easy_flavor

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  easy_flavor: ^0.1.1

Alternatively, 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:easy_flavor/easy_flavor.dart';
0
likes
160
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A CLI that sets up Flutter flavors (dev, staging, prod, ...) for Android and iOS in new or existing projects, with optional Firebase integration.

Repository (GitHub)
View/report issues

Topics

#flutter #flavors #cli #firebase #build-variants

License

MIT (license)

Dependencies

args, mason_logger, meta, path, yaml, yaml_edit

More

Packages that depend on easy_flavor