parentChanged method
- @protected
- ContainerComponent? from,
- 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();
}