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

Platformweb

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

example/example.dart

import 'package:angulardart/angular.dart';

@Component(
  selector: 'my-app',
  template: '''
    <h1>Hello {{name}}!</h1>
    <p>Welcome to AngularDart.</p>
    <button (click)="incrementCounter()">
      Clicked {{counter}} times
    </button>
  ''',
  directives: [],
)
class AppComponent {
  String name = 'World';
  int counter = 0;

  void incrementCounter() {
    counter++;
  }
}