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