dghub_generator 0.0.1-beta9.9.7 copy "dghub_generator: ^0.0.1-beta9.9.7" to clipboard
dghub_generator: ^0.0.1-beta9.9.7 copied to clipboard

Developed by DGHub Studio

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate dghub_generator

Use it

The package has the following executables:

$ dg

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add dghub_generator

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

dependencies:
  dghub_generator: ^0.0.1-beta9.9.7

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

Import it

Now in your Dart code, you can use:

import 'package:dghub_generator/dghub_generator.dart';