Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hyiso/flutterw
Flutterw wraps flutter to support scripts and command hooks.
https://github.com/hyiso/flutterw
dart dart-cli flutter flutter-app flutter-cli flutter-examples flutter-package flutter-plugin flutter-tools
Last synced: 17 days ago
JSON representation
Flutterw wraps flutter to support scripts and command hooks.
- Host: GitHub
- URL: https://github.com/hyiso/flutterw
- Owner: hyiso
- License: apache-2.0
- Created: 2022-10-28T04:09:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-28T14:58:08.000Z (over 1 year ago)
- Last Synced: 2024-10-15T10:17:19.304Z (23 days ago)
- Topics: dart, dart-cli, flutter, flutter-app, flutter-cli, flutter-examples, flutter-package, flutter-plugin, flutter-tools
- Language: Dart
- Homepage: https://pub.dev/packages/flutterw
- Size: 149 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Flutterw wraps flutter tool to support scripts and command hooks.## Why Flutterw
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 flutter tool to support scripts and command hooks.**
**Hooks are pre, post and command scripts.**
**`pre` and `post` scripts enable you to do extra work before and after running command**
**and `command` scripts enable you to customize command behavior.**## What can Flutterw do?
- Dispatch arguments to `flutter` if no `scripts` configured in `pubspec.yaml`
- Scripts shortcut `flutterw ` runs `scripts` in `pubspec.yaml`
- `pre:command` scripts are executed before running command
- `command` scripts are executed to replace original command
- `post:command` scripts are executed after running command
- Use packages in [Pub](https://pub.dev/packages?q=flutterw) to enhance/replace `flutter` builtin commands
- packages created by flutterw author
- [flutterw_build_aar](https://pub.dev/packages/flutterw_build_aar)
- [flutterw_clean](https://pub.dev/packages/flutterw_clean) (for example)
- packages created by community developers. (PRs are welcome!)## Who is using Flutterw?
The following projects are using Flutterw:
- [flutterw](https://github.com/hyiso/flutterw)
## Documentation
See [Documentation](https://hyiso.github.io/flutterw) for details.
## README Badge
Using Flutterw? Add a README badge to show it off:
[![flutterw](https://img.shields.io/badge/maintained%20with-flutterw-27b6f6.svg)](https://github.com/hyiso/flutterw)
```markdown
[![flutterw](https://img.shields.io/badge/maintained%20with-flutterw-27b6f6.svg)](https://github.com/hyiso/flutterw)
```