flutterw 0.5.1 copy "flutterw: ^0.5.1" to clipboard
flutterw: ^0.5.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

Flutterw wraps flutter tool projects to support command hook system.

Flutterw Melos docs.page

DocumentationLicense

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.

  • Command hooks system support packages in Pub

    • packages created by flutterw author.(eg: flutterw_clean)
    • packages created by other developers.
  • Global command hooks can be shared cross projects.

  • Project hooks simplify project workflow.

    • Hook scripts can do whatever you want before and after command running.
  • Manage global and project command hook package

    • flutterw hook add <name> <package> [-g, --global]
    • flutterw hook remove <name>
    • flutterw hook list

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:
  hook   Manage Flutterw Hooks.

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

[![flutterw](https://img.shields.io/badge/maintained%20with-flutterw-27b6f6.svg?style=flat-square)](https://github.com/hyiso/flutterw)
1
likes
0
pub points
11%
popularity

Publisher

unverified uploader

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.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args, cli_util, cli_wrapper, path, yaml, yaml_edit

More

Packages that depend on flutterw