Home > Software design >  When to use main Axis Alignment and cross Axis Alignment?
When to use main Axis Alignment and cross Axis Alignment?

Time:02-21

how to use main-Axis-Alignment and cross-Axis-Alignment? In the flutter interviews, this is the 1st question!

where to use main-Axis-Alignment and cross-Axis-Alignment?

CodePudding user response:

You can see the answer enter image description here

For Column:

mainAxisAlignment = Vertical Axis

crossAxisAlignment = Horizontal Axis enter image description here

  • Related