angulardart 8.0.6 copy "angulardart: ^8.0.6" to clipboard
angulardart: ^8.0.6 copied to clipboard

Fast and productive web framework by Google. Separate, but similar to the JavaScript framework with a similar name.

AngularDart #

A fast and productive web framework by Google. AngularDart is separate from, but similar to, the JavaScript framework with a similar name.

pub package

Features #

  • Component-based architecture: Build reusable UI components
  • Two-way data binding: Automatically sync data between model and view
  • Dependency injection: Manage services and dependencies efficiently
  • Template syntax: Powerful templating with directives and pipes
  • Change detection: Efficient rendering with OnPush strategy support
  • Type safety: Full Dart type checking and null safety
  • Build-time compilation: Code generation for optimal performance

Installation #

Add angulardart to your pubspec.yaml:

dependencies:
  angulardart: ^8.0.0

Quick Start #

1. Create a component #

import 'package:angulardart/angular.dart';

@Component(
  selector: 'my-app',
  template: '<h1>Hello {{name}}!</h1>',
)
class AppComponent {
  String name = 'World';
}

2. Bootstrap the application #

import 'package:angulardart/angular.dart';
import 'app_component.dart';

void main() {
  runApp(AppComponent, 'my-app');
}

3. Create the HTML entry point #

<!DOCTYPE html>
<html>
<head>
  <title>My AngularDart App</title>
</head>
<body>
  <my-app>Loading...</my-app>
  <script defer src="main.dart.js"></script>
</body>
</html>

4. Build and run #

dart pub get
dart run build_runner build
dart run build_runner serve web

Documentation #

Requirements #

  • Dart SDK >= 3.0.0
  • Web platform support

License #

MIT License - see the LICENSE file for details.

Contributing #

See CONTRIBUTING.md for guidelines.

Support #

3
likes
0
points
163
downloads

Publisher

verified publisherqlapp.fr

Weekly Downloads

Fast and productive web framework by Google. Separate, but similar to the JavaScript framework with a similar name.

Repository (GitHub)
View/report issues

Topics

#angular #web #framework #dart

License

unknown (license)

Dependencies

analyzer, angulardart_ast, angulardart_compiler, build, build_config, built_collection, built_value, code_builder, collection, csslib, intl, js, lints, logging, meta, path, quiver, source_gen, source_span, stack_trace, stream_transform, web

More

Packages that depend on angulardart