mount method

void mount(
  1. Element? parent
)

Mounts this element under parent and performs its initial build.

Implementation

void mount(Element? parent) {
  this.parent = parent;
  _owner?.queueMountInitCmd(widget.handleInit());
  markNeedsBuild();
  rebuild();
}