debugCheckIntrinsicSizes top-level property
getter/setter pair
Check the intrinsic sizes of each RenderBox during layout.
By default this is turned off since these checks are expensive. If you are implementing your own children of RenderBox with custom intrinsics, turn this on in your unit tests for additional validations.
Implementation
bool debugCheckIntrinsicSizes = false;