propagateCollapse method

  1. @override
bool propagateCollapse(
  1. bool collapse
)

Implementation

@override
bool propagateCollapse(bool collapse) {
  if (!super.propagateCollapse(collapse)) {
    return false;
  }

  // In the runtime, we have to iterate the dependents
  dependents.forEach((element) {
    if (element is TransformComponent) {
      element.markDirtyIfConstrained();
    }
  });

  return true;
}