Package selection guidance compiled from public package information, community data, and project usage.
A fluent, builder-based library for generating valid Dart code. It provides a structured and readable way to construct Dart syntax trees programmatically, making it ideal for code generation tasks such as creating boilerplate, annotations, or custom classes. The library supports the full range of Dart language features and integrates seamlessly with build systems. Designed for developers working on code generators, it simplifies the process of writing correct and maintainable generated code.
Use cases
Generating boilerplate code
Creating custom annotations
Building dynamic classes
Automating repetitive code patterns
Supporting build-time code generation
Key features
Fluent API for code construction
Supports full Dart syntax
Easy integration with build_runner
Type-safe code generation
Modular and composable builders
Suitable for
Code generation tools
Build system integrations
Library authors
Automated testing utilities
Considerations
Requires understanding of Dart syntax trees
Best used in conjunction with build_runner
Not intended for runtime code execution
Limited to static code generation
May increase build complexity if overused
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Overview
This repository is home to tooling related Dart packages. Generally, this means
packages published through the
tools.dart.dev publisher that
don't naturally belong to other topic monorepos (like
dart-lang/build,
dart-lang/test, or
dart-lang/shelf).
A client library for authenticating with a remote service via OAuth2 on behalf of a user, and making authorized HTTP requests with the user's OAuth2 credentials.