cellular-automata/lib/app_component.dart

38 lines
1.2 KiB
Dart
Raw Permalink Normal View History

2018-07-07 13:46:40 +00:00
import 'package:angular/angular.dart';
2018-07-10 10:52:56 +00:00
import 'package:angular_components/angular_components.dart';
import 'package:rules_of_living/components/configuration_component.dart';
import 'package:rules_of_living/components/controls_component.dart';
2018-08-22 11:00:41 +00:00
import 'package:rules_of_living/components/header_component.dart';
import 'package:rules_of_living/components/simulation_component.dart';
import 'package:rules_of_living/service/configuration_service.dart';
import 'package:rules_of_living/service/control_service.dart';
import 'package:rules_of_living/service/engine_service.dart';
2018-07-07 14:44:27 +00:00
2018-07-07 13:46:40 +00:00
@Component(
2018-08-23 10:38:34 +00:00
selector: 'my-app',
templateUrl: "app_component.html",
directives: [
coreDirectives,
MaterialButtonComponent,
MaterialIconComponent,
MaterialSliderComponent,
HeaderComponent,
SimulationComponent,
ControlsComponent,
ConfigurationComponent
2018-08-23 10:38:34 +00:00
],
providers: [
materialProviders,
ClassProvider(EngineService),
ClassProvider(ConfigurationService),
ClassProvider(ControlService)
],
styleUrls: const [
'package:angular_components/app_layout/layout.scss.css',
'app_component.css'
],
2018-07-10 10:52:56 +00:00
)
class AppComponent {
2018-07-07 14:44:27 +00:00
var name = "World";
2018-07-07 13:46:40 +00:00
}