FLUTTER ECOSYSTEM

macro_kit

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

Latest version
0.6.4
30-day downloads
455
Likes
45
Pub points
150

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

Macro Kit is a Dart development-time macro system that generates code instantly, enabling rapid iteration without requiring build_runner. It streamlines code generation during development by executing macros directly at compile time, reducing build overhead and improving feedback loops. Ideal for developers seeking faster workflows in projects involving boilerplate-heavy tasks like JSON serialization or model generation. The package integrates seamlessly into Flutter and Dart projects across multiple platforms.

Use cases
  • Fast code generation during development
  • Reducing reliance on build_runner
  • Automating repetitive coding patterns
  • Streamlining JSON serialization setup
  • Enhancing developer productivity in iterative workflows
Key features
  • Instant code generation
  • No build_runner dependency
  • Compile-time macro execution
  • Seamless Flutter integration
  • Cross-platform support
Suitable for
  • Dart developers prioritizing fast iteration
  • Projects with heavy code generation needs
  • Teams avoiding build_runner complexity
  • Flutter apps requiring rapid prototyping
  • Developers focused on development speed
Considerations
  • Limited to development-time use
  • Not suitable for production builds relying on build steps
  • Requires careful handling of macro definitions
  • May increase compilation time in large projects
  • Depends on stable Dart language features
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add macro_kit

Categories

Related projects

No data available yet.