Layout widgets

UI

Widgets

Layout

Arrange other widgets columns, rows, grids, and many other layouts.

Single-child layout widgets

Multi-child layout widgets

Sliver widgets

See more widgets in the widget catalog.

Single-child layout widgets

Align

A widget that aligns its child within itself and optionally sizes itself based on the child's size.

AspectRatio

A widget that attempts to size the child to a specific aspect ratio.

Abc

Baseline

A widget that positions its child according to the child's baseline.

Center

A widget that centers its child within itself.

ConstrainedBox

A widget that imposes additional constraints on its child.

Container