updateCalculatedSize method

void updateCalculatedSize(
  1. Size newSize
)

Updates the group's calculated size.

This is called by the framework when the group's bounds change due to node movement, addition, or removal. You typically don't need to call this directly.

Implementation

void updateCalculatedSize(Size newSize) {
  runInAction(() => _calculatedSize.value = newSize);
}