Component constructor

Component(
  1. String name, {
  2. ViewEncapsulation encapsulation = ViewEncapsulation.emulated,
  3. List<View> views = const [],
  4. List<String> styles = const [],
  5. List<String> styleUrls = const [],
})

Implementation

Component(
  this.name, {
  this.encapsulation = ViewEncapsulation.emulated,
  this.views = const [],
  this.styles = const [],
  this.styleUrls = const [],
});