isConstrained property

bool get isConstrained

Implementation

bool get isConstrained {
  Component? component = this;
  while (component != null) {
    if (component is TransformComponent && component.constraints.isNotEmpty) {
      return true;
    }
    component = component.parent;
  }
  return false;
}