resetSize method

void resetSize()

Reset the size of this LayoutComponent to either the layout dimensions or the intrinsicSize.

Implementation

void resetSize() {
  width = _layoutSizeX ?? intrinsicSize.x;
  height = _layoutSizeY ?? intrinsicSize.y;
}