The mainAxisAlignment is how items are aligned on that axis, whereas crossAxisAlignment is how items are aligned on the other axis. Row and column widgets can align their children according to our preferences using the crossAxisAlignment and the mainAxisAlignment properties.
As Children of the Row Widget are arranged horizontally.
For Row:
mainAxisAlignment = Horizontal Axis
crossAxisAlignment = Vertical Axis
As Children of the Column Widget are arranged vertically.
For Column:
mainAxisAlignment = Vertical Axis
crossAxisAlignment = Horizontal Axis