parentChanged method

  1. @protected
void parentChanged(
  1. ContainerComponent? from,
  2. ContainerComponent? to
)
inherited

Implementation

@protected
void parentChanged(ContainerComponent? from, ContainerComponent? to) {
  from?.children.remove(this);
  from?.childRemoved(this);

  if (to != null) {
    to.children.add(this);

    to.childAdded(this);
  }

  // We need to resolve our artboard.
  markRebuildDependencies();
}