vmax property

int get vmax

The biggest side of the viewport: Math.max(width, height)

Implementation

int get vmax => Math.max(width, height);