mainAxisSize property
How much space should be occupied in the main axis. The default is MainAxisSize.min, which means the row will occupy no more than its content's width. Make it MainAxisSize.max to expand the row to occupy the whole horizontal space. Note: When fill is true, mainAxisSize is ignored because it will expand anyway.
Implementation
final MainAxisSize mainAxisSize;