cross property

double cross

The cross axis extent of this size.

Implementation

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