computeSizeForNoChild method

  1. @override
Size computeSizeForNoChild(
  1. 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.biggest;
}