flconf 1.0.6 flconf: ^1.0.6 copied to clipboard
A dart command line tool to help run flutter apps easily from different config sets. Handy tool for running seperate environments for debug and release versions.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate flconf
Use it
The package has the following executables:
$ flconf
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flconf
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
flconf: ^1.0.6
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flconf/commands/build.dart';
import 'package:flconf/commands/drive.dart';
import 'package:flconf/commands/generate.dart';
import 'package:flconf/commands/help.dart';
import 'package:flconf/commands/init.dart';
import 'package:flconf/commands/run.dart';
import 'package:flconf/helpers/example_generated_file.dart';
import 'package:flconf/helpers/format_strings.dart';
import 'package:flconf/helpers/get_dart_defines.dart';
import 'package:flconf/helpers/logger.dart';