Flutter Layouts

In Flutter, we can create a layout by composing multiple widgets to build more complex widgets. Flutter layouts can be divided in two groups:

  1. Single child layout widget
  2. Multiple child layout widget

1) Single child layout widget

The layout widget has only one widget as a child widget. Some of the single child widgets provided by flutter are:

  1. Container
  2. Center
  3. Padding
  4. Align
  5. SizedBox
  6. FittedBox
  7. AspectRatio
  8. ConstrainedBox
  9. IntrinsicHeight
  10. IntrinsicWidth

2) Multiple child layout widget

It has multiple child widgets. Some of the multiple child widgets are:

  1. Row
  2. Column
  3. Expanded
  4. ListView
  5. GridView
  6. Stack