$ method

WidgetElement $(
  1. WidgetElement element
)
inherited

Adds the specified WidgetElement to WidgetElement from which the method was called. Think of it as an add, insert, etc. method.

Implementation

WidgetElement $(WidgetElement element) {
  _node.children?.add(element.node);
  return this;
}