The lesser of the magnitudes of the width and the height.
double get shortestSide => math.min(width.abs(), height.abs());