build method

  1. @override
void build(
  1. DomBuilder<L, V> b
)
override

Implementation

@override
void build(DomBuilder<L, V> b) {
  onBeforeBuild();
  b.open(
    tag,
    id: id,
    key: key,
    classes: classes,
    styles: styles,
    attributes: attributes,
    events: events,
    onCreate: onCreate,
    onRemove: onRemove,
  );
  final children_ = children;
  if (children_ != null) {
    for (final node in children_) {
      node.build(b);
    }
  }
  b.close(tag: tag);
}