main property

double get main

The main axis extent of this size.

Implementation

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