angulardart 9.0.6
angulardart: ^9.0.6 copied to clipboard
Community-maintained fork of Google's AngularDart framework. Fast and productive web framework for Dart 3.
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++;
}
}