shortestSide property

double shortestSide

The lesser of the magnitudes of the width and the height.

Implementation

double get shortestSide => sizePx.shortestSide;