flutterw 0.6.1 flutterw: ^0.6.1 copied to clipboard
Flutterw wraps flutter tool to support hooks system. Hooks can be both scripts and dart package. Adding global or project hook by using flutterw hook command.
Flutterw wraps flutter tool projects to support command hook system.
About #
Flutter Tool is shipped with Flutter SDK every version with some changes. However, upgrading Flutter SDK version is not easy as projects maybe in production mode.
How to be benifited of the Flutter Tool changes without upgrading Flutter SDK is always confusing. Also, the Flutter Tool does not give chance to do extra work during command running.
To solve these (and other related) problems, flutterw is created.
Flutterw wraps the flutter tool to support command hooks system.
pre
and post
hooks enable you to do extra work before and after command running
and command
hooks enable you to customize command behavior.
What can Flutterw do? #
- Dispatch arguments to flutter tool when no command hook configured.
pre
hooks are executed before running command.post
hooks are executed after running command.command
hooks are executed to replace original command.- Hooks can also be packages in Pub
- packages created by flutterw author
- packages created by other developers.
Who is using Flutterw? #
The following projects are using Flutterw:
Install #
dart pub global activate flutterw
commands #
Full commands list and args can be viewed by running flutterw -h.
> flutterw -h
flutterw wraps flutter tool with advanced usage.
Usage: flutterw <command> [arguments]
Global options:
-h, --help Print this usage information.
Available commands:
help Display help information for flutterw.
Run "flutterw help <command>" for more information about a command.
And use flutterw as flutter to enable hooks and plugins:
flutterw doctor
flutterw clean
flutterw pub get
...
README Badge #
Using Flutterw? Add a README badge to show it off:
[![flutterw](https://img.shields.io/badge/maintained%20with-flutterw-27b6f6.svg?style=flat-square)](https://github.com/hyiso/flutterw)