parentChanged method Null safety

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

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);
}