flutter_compile 0.0.2+2 copy "flutter_compile: ^0.0.2+2" to clipboard
flutter_compile: ^0.0.2+2 copied to clipboard

A Dart CLI to simplify the setting up your flutter framework development environment and automates the steps you need to configure your computer.

flutter_compile #

coverage style: very good analysis License: BSD-3

A Dart CLI to simplify compiling and setting up the Flutter framework development environment. This tool automates the steps required and make it easy to switch between default flutter installation and the Compiled flutter installation.


Getting Started ๐Ÿš€ #

If the CLI application is available on pub, activate globally via:

dart pub global activate flutter_compile

Or locally via:

dart pub global activate --source=path <path to this package>

Usage #

# Set up the Flutter development environment
$ flutter_compile install

# Switch between normal Flutter installation and compiled Flutter installation
$ flutter_compile switch

# Show CLI version
$ flutter_compile --version

# Show usage help
$ flutter_compile --help

Running Tests with coverage ๐Ÿงช #

To run all unit tests use the following command:

dart pub global activate coverage 1.2.0
dart test --coverage=coverage
dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info

To view the generated coverage report you can use coverage.

# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html

4
likes
150
pub points
0%
popularity

Publisher

verified publisherflutterplaza.com

A Dart CLI to simplify the setting up your flutter framework development environment and automates the steps you need to configure your computer.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, cli_completion, mason_logger, pub_updater

More

Packages that depend on flutter_compile