main property

double main

The main axis extent of this size.

Implementation

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