markStructureChanged method

void markStructureChanged()

Marks the tree structure as changed, clears layout caches, and requests a new layout pass.

Called by the element during hot reload to ensure children are recreated with the new nodeBuilder.

Implementation

void markStructureChanged() {
  _structureChanged = true;
  _sticky.dirty = true;
  markNeedsLayout();
}