longestSide property

double longestSide

The greater of the magnitudes of the width and the height.

Implementation

double get longestSide => math.max(width.abs(), height.abs());