mainAxisSize property

MainAxisSize get mainAxisSize

Determines the main axis size based on the layout.

Implementation

MainAxisSize get mainAxisSize {
  return switch (this) {
    VButtonLayout.WRAP => MainAxisSize.min,
    VButtonLayout.FULL => MainAxisSize.max,
  };
}