constraints

return

constraints

biggest

If for some reason it is impossible to calculate the dry layout, computeDryLayout
must call debugCannotComputeDryLayout from within an assert and return a dummy
size of const Size(0, 0). Calculating a dry layout is, for example, impossible
if the size of a RenderBox depends on the baseline metrics of its children.

@override

Size

computeDryLayout

BoxConstraints

constraints

assert

debugCannotComputeDryLayout

reason:

'Layout requires baseline metrics, which are only available after a full layout.'

));

return

const

Size

);

Timeline