computeSizeForNoChild method
- BoxConstraints constraints
override
Calculate the size the RenderProxyBox would have under the given BoxConstraints for the case where it does not have a child.
Implementation
@override
Size computeSizeForNoChild(BoxConstraints constraints) {
return constraints.constrain(preferredSize);
}