ChildLayouter typedef

ChildLayouter = Size Function(RenderBox child, BoxConstraints constraints)

Signature for a function that takes a RenderBox and returns the Size that the RenderBox would have if it were laid out with the given BoxConstraints.

The methods of ChildLayoutHelper adhere to this signature.

Implementation

typedef ChildLayouter = Size Function(RenderBox child, BoxConstraints constraints);