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:
- Single child layout widget
- Multiple child layout widget
The layout widget has only one widget as a child widget. Some of the single child widgets provided by flutter are:
- Container
- Center
- Padding
- Align
- SizedBox
- FittedBox
- AspectRatio
- ConstrainedBox
- IntrinsicHeight
- IntrinsicWidth
It has multiple child widgets. Some of the multiple child widgets are:
- Row
- Column
- Expanded
- ListView
- GridView
- Stack