onParentResize method

void onParentResize(
  1. Vector2 maxSize
)
inherited

Called whenever the parent of this component changes size; and also once before onMount.

The component may change its own size or perform layout in response to this call. If the component changes size, then it should call onParentResize for all its children.

Implementation

void onParentResize(Vector2 maxSize) {}