parentChanged method
Implementation
@override
void parentChanged(ContainerComponent? from, ContainerComponent? to) {
super.parentChanged(from, to);
// Make sure we re-compute clipping shapes when we change parents. Issue
// #1586
addDirt(ComponentDirt.clip);
}