minDim property

int minDim

Returns the shortest dimension.

Implementation

int get minDim => min(h, v);