generator_test 0.4.1 copy "generator_test: ^0.4.1" to clipboard
generator_test: ^0.4.1 copied to clipboard

A library to help test generators and build runner packages using dart files instead of Strings

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add generator_test
copied to clipboard

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

dependencies:
  generator_test: ^0.4.1
copied to clipboard

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

Import it

Now in your Dart code, you can use:

import 'package:generator_test/generator_test.dart';
copied to clipboard
4
likes
160
points
77
downloads

Publisher

verified publishermrgnhnt.com

Weekly Downloads

2024.09.23 - 2025.04.07

A library to help test generators and build runner packages using dart files instead of Strings

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

build, build_test, logging, meta, path, source_gen

More

Packages that depend on generator_test