maxDim property

int maxDim

Returns the longest dimension.

Implementation

int get maxDim => max(h, v);