computeSizeWithoutChild method

  1. @override
Size computeSizeWithoutChild(
  1. BoxConstraints constraints
)
override

Returns the size when there is no child (just the padding dimensions).

Implementation

@override
Size computeSizeWithoutChild(BoxConstraints constraints) =>
    Size(padding.left + padding.right, padding.top + padding.bottom);