home_widget_cli is a Dart command-line tool that helps you set up the native parts of a HomeScreen widget for the home_widget Flutter plugin.
It can:
- Scaffold placeholder native widget code for iOS and/or Android.
- Generate native widget code and a typed Dart helper from
home_widget_generatorschemas.
Add it as a dev dependency in your Flutter app:
yaml
dev_dependencies:
home_widget_cli: ^0.1.0Then invoke it via dart run:
bash
dart run home_widget_cli <command> [arguments]| Option | Description |
|---|---|
--version | Print the CLI version. |
--verbose | Enable verbose output. |
-h, --help | Print usage information. |