intrinsicSize property
The smallest possible size this component can possibly have, as a container of other components, and given whatever constraints any subclass of LayoutComponent may prescribe.
Implementation
@override
Vector2 get intrinsicSize => child?.size ?? Vector2.zero();