cross property

double get cross

The cross axis extent of this size.

Implementation

double get cross => axis == Axis.vertical ? width : height;