mainAxisSize property

double mainAxisSize

The size of child on the main axis

Implementation

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