getSmallestContentExtension method

double getSmallestContentExtension()

Returns the smallest extension of the content rect (width or height).

@return

Implementation

double getSmallestContentExtension() {
  return min(_contentRect.width, _contentRect.height);
}