shortestSide property
double
get
shortestSide
The lesser of the magnitudes of the width and height.
Example:
double shortestSide = context.shortestSide;
Implementation
double get shortestSide => sizePx.shortestSide;