The lesser of the magnitudes of the width and the height of this rounded rectangle.
Source
double get shortestSide {
double w = width.abs();
double h = height.abs();
return w < h ? w : h;
}
The lesser of the magnitudes of the width and the height of this rounded rectangle.
double get shortestSide {
double w = width.abs();
double h = height.abs();
return w < h ? w : h;
}