angulardart_compiler 5.0.3
angulardart_compiler: ^5.0.3 copied to clipboard
Compiler for AngularDart.

AngularDart Compiler #
Template compiler for AngularDart. Transforms templates into efficient Dart code.
Part of the AngularDart ecosystem.
Overview #
This package provides the template compiler for AngularDart. It transforms AngularDart component templates into efficient Dart code at build time.
What it does #
- Compiles AngularDart templates to Dart code
- Generates component factories and dependency injection code
- Processes
@Component,@Directive, and@Pipeannotations - Integrates with
build_runnerfor code generation - Supports template optimization and tree-shaking
Usage #
This package is typically not used directly. It is a dependency of:
- angulardart - The core AngularDart framework
The compiler runs automatically when you use build_runner:
dart run build_runner build
How it works #
- Template parsing - Parses HTML templates into an AST (using
angulardart_ast) - Code generation - Generates Dart code for component views
- DI generation - Generates dependency injection code
- Optimization - Optimizes generated code for performance
Documentation #
Requirements #
- Dart SDK >= 3.0.0
License #
MIT License
Disclaimer #
AngularDart Reborn is a community-maintained fork of Google's original AngularDart framework. This project is not affiliated with, endorsed by, or sponsored by Google LLC. Angular and AngularDart are trademarks of Google LLC.
This is an independent, 100% community-driven project. For the original Angular Framework (TypeScript/JavaScript), visit angular.io.
