bodyHeight method

double bodyHeight(
  1. double containerHeight
)

Returns the height of body region, which doesn't contain margins.

Implementation

double bodyHeight(double containerHeight) {
  _assertContainerHeight(containerHeight);

  return containerHeight > 0 ? max(0, containerHeight - margins.vertical) : 0;
}