Component constructor

Component({
  1. Iterable<Component>? children,
  2. int? priority,
  3. ComponentKey? key,
})

Implementation

Component({
  Iterable<Component>? children,
  int? priority,
  this.key,
}) : _priority = priority ?? 0 {
  if (children != null) {
    addAll(children);
  }
}