home_widget_cli 0.0.1 copy "home_widget_cli: ^0.0.1" to clipboard
home_widget_cli: ^0.0.1 copied to clipboard

CLI to scaffold and generate native HomeScreen widget code for the home_widget Flutter plugin.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate home_widget_cli

Use it

The package has the following executables:

$ home_widget

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add home_widget_cli

With Flutter:

 $ flutter pub add home_widget_cli

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  home_widget_cli: ^0.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:home_widget_cli/home_widget_cli.dart';
2
likes
130
points
0
downloads

Documentation

Documentation
API reference

Publisher

verified publisherantonborri.es

Weekly Downloads

CLI to scaffold and generate native HomeScreen widget code for the home_widget Flutter plugin.

Repository (GitHub)
View/report issues

Topics

#home-screen-widget #cli #code-generation #android #ios

Funding

Consider supporting this project:

github.com

License

BSD-3-Clause (license)

Dependencies

analyzer, args, dart_style, home_widget_generator, mason_logger, path, xml

More

Packages that depend on home_widget_cli