generator_core 1.0.1 copy "generator_core: ^1.0.1" to clipboard
generator_core: ^1.0.1 copied to clipboard

Core components to build a custom Dart generator package.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add generator_core

With Flutter:

 $ flutter pub add generator_core

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

dependencies:
  generator_core: ^1.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:generator_core/generator_core.dart';
0
likes
140
points
102
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Core components to build a custom Dart generator package.

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

analyzer, build, intl, loghub, meta, package_config, path, source_gen

More

Packages that depend on generator_core