Flutter layout relies on layout widgets: Row and Column align their children horizontally or vertically, Expanded distributes the remaining space, Padding and SizedBox handle margins and sizes. Constraints flow from parent to child, which chooses its size within those limits.
Example
Column(
children: [Text('A'), Text('B')],
)