kflavor 1.1.2
kflavor: ^1.1.2 copied to clipboard
kflavor automates flutter multi-flavor configuration for android, iOS and web, managing firebase settings, icons, splash screens, gradle/xcode config, and IDE run/debug profiles.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate kflavorUse it
The package has the following executables:
$ kflavor
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add kflavorWith Flutter:
$ flutter pub add kflavorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
kflavor: ^1.1.2Alternatively, 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:kflavor/kflavor.dart';