macro_kit 0.0.13 copy "macro_kit: ^0.0.13" to clipboard
macro_kit: ^0.0.13 copied to clipboard

A development-time macro system for Dart that generates code instantly for fast iteration without build_runner.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate macro_kit

Use it

The package has the following executables:

$ macro

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add macro_kit

With Flutter:

 $ flutter pub add macro_kit

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

dependencies:
  macro_kit: ^0.0.13

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:macro_kit/macro.dart';
import 'package:macro_kit/macro_core.dart';
10
likes
135
points
387
downloads

Publisher

verified publisherswiftybase.com

Weekly Downloads

A development-time macro system for Dart that generates code instantly for fast iteration without build_runner.

Repository (GitHub)
View/report issues

Topics

#codegen #macro #builder #development #tooling

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, analyzer_plugin, change_case, collection, dart_style, hashlib, http, logging, meta, path, shelf, shelf_router, shelf_web_socket, source_helper, synchronized, watcher, web_socket_channel, yaml

More

Packages that depend on macro_kit