mainAxisSize property
double
mainAxisSize
The size of child widget on the main axis.
Implementation
double get mainAxisSize => axis == Axis.vertical ? size.height : size.width;
The size of child widget on the main axis.
double get mainAxisSize => axis == Axis.vertical ? size.height : size.width;