InterviewSolution
| 1. |
When to use mainAxisAlignment and crossAxisAlignment. |
|
Answer» 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 Column Widget are arranged vertically. |
|