vmin property

int get vmin

The smallest side of the viewport: Math.min(width, height)

Implementation

int get vmin => Math.min(width, height);