MainAxisAlignment control in a Flutter Row or Column?MainAxisAlignment controls how the children are placed along the main axis, which is horizontal for Row and vertical for Column.
MainAxisAlignment and CrossAxisAlignment?MainAxisAlignment aligns children along the main axis (horizontal in Row, vertical in Column), while CrossAxisAlignment aligns children along the cross axis (vertical in Row, horizontal in Column).
MainAxisAlignment.spaceBetween do?It places the children so that the first child is at the start, the last child is at the end, and the remaining space is evenly distributed between the children.
CrossAxisAlignment.stretch affect children in a Column?It makes the children expand to fill the maximum width available along the cross axis (horizontal axis in a Column).
Column, which properties would you set?Set MainAxisAlignment.center to center vertically and CrossAxisAlignment.center to center horizontally.
Row, which axis does MainAxisAlignment control?MainAxisAlignment controls the horizontal placement of children in a Row.
CrossAxisAlignment.start do in a Column?In a Column, the cross axis is horizontal, so start aligns children to the left.
MainAxisAlignment value evenly spaces children including start and end edges?spaceEvenly puts equal space before, between, and after children.
Row have different heights, which CrossAxisAlignment makes them all match the tallest child?stretch expands children to fill the cross axis size, matching the tallest child height.
Column?MainAxisAlignment.end pushes children to the bottom in a Column.
MainAxisAlignment and CrossAxisAlignment work differently in a Row and a Column.MainAxisAlignment.spaceBetween in a Flutter layout.