layout abstract method

void layout(
  1. LayoutConstraints constraints
)

Lays this item out under constraints, leaving size reporting the result.

An item that can't lay itself out any further does nothing at all, keeping whatever intrinsic size it already had.

size is the only channel; a later pass reads it back off the item.

Implementation

void layout(LayoutConstraints constraints);