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.

ChildLayoutHelper.dryLayoutChild and ChildLayoutHelper.layoutChild adhere to this signature.

Implementation

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