@override bool addChildToElement(Node? parent, Node? child) { if (parent is Element && !parent.nodes.contains(child)) { parent.append(child!); return true; } return false; }