angulardart_compiler 5.2.2 copy "angulardart_compiler: ^5.2.2" to clipboard
angulardart_compiler: ^5.2.2 copied to clipboard

Platformweb

Build-time template compiler and code generator for AngularDart. Transforms Dart templates into optimized, type-safe rendering code with SSR support.

AngularDart Compiler banner

Website pub package

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 @Pipe annotations
  • Integrates with build_runner for code generation
  • Supports template optimization and tree-shaking

Usage #

This package is typically not used directly. It is a dependency of:

The compiler runs automatically when you use build_runner:

dart run build_runner build

How it works #

  1. Template parsing - Parses HTML templates into an AST (using angulardart_ast)
  2. Code generation - Generates Dart code for component views
  3. DI generation - Generates dependency injection code
  4. 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 (formerly known as AngularDart by Google). This project is not affiliated with, endorsed by, or sponsored by Google LLC.

  • Angular, AngularDart, and all associated packages (angulardart, angulardart_router, angulardart_compiler, angulardart_forms, angulardart_meta, angulardart_ast, angulardart_cli, angulardart_seo, angulardart_prerender, angulardart_test, angulardart_components) are trademarks and projects of the AngularDart Reborn community.
  • The original AngularDart framework was developed by Google LLC and hosted at github.com/angulardart.
  • This is an independent, 100% community-driven project that continues the work started by Google's AngularDart team after Google ceased active maintenance.

For the official Angular Framework (TypeScript/JavaScript), visit angular.io. For the original Google-maintained AngularDart repository, see github.com/angulardart.

0
likes
130
points
1.24k
downloads
screenshot

Documentation

Documentation

Publisher

verified publisherqlapp.fr

Weekly Downloads

Build-time template compiler and code generator for AngularDart. Transforms Dart templates into optimized, type-safe rendering code with SSR support.

Homepage
Repository (GitHub)
View/report issues

Topics

#angular #compiler #code-generation #web

License

MIT (license)

Dependencies

analyzer, angulardart_ast, angulardart_meta, args, build, build_test, code_builder, collection, csslib, dart_style, logging, meta, package_config, path, source_gen, source_span, stack_trace

More

Packages that depend on angulardart_compiler