const Component({String selector, List<String> inputs, List<String> outputs, Map<String, String> host, String exportAs, String moduleId, List providers, List viewBindings, List viewProviders, ChangeDetectionStrategy changeDetection: ChangeDetectionStrategy.Default, Map<String, dynamic> queries, String templateUrl, String template, bool preserveWhitespace: true, List<String> styleUrls, List<String> styles, List directives, List pipes, ViewEncapsulation encapsulation })

Source

const Component(
    {String selector,
    List<String> inputs,
    List<String> outputs,
    Map<String, String> host,
    String exportAs,
    this.moduleId,
    List providers,
    List viewBindings,
    List viewProviders,
    this.changeDetection: ChangeDetectionStrategy.Default,
    Map<String, dynamic> queries,
    this.templateUrl,
    this.template,
    this.preserveWhitespace: true,
    this.styleUrls,
    this.styles,
    this.directives,
    this.pipes,
    this.encapsulation})
    : _viewProviders = viewProviders,
      _viewBindings = viewBindings,
      super(
          selector: selector,
          inputs: inputs,
          outputs: outputs,
          host: host,
          exportAs: exportAs,
          providers: providers,
          queries: queries);