mainAxisSize property
MainAxisSize
get
mainAxisSize
Determines the main axis size based on the layout.
Implementation
MainAxisSize get mainAxisSize {
return switch (this) {
PiButtonLayout.WRAP => MainAxisSize.min,
PiButtonLayout.FULL => MainAxisSize.max,
};
}