Stack & Positioned

Layer widgets on top of each other

Stack lets you layer widgets on top of each other. Positioned gives precise control over where children sit within the Stack.

Widgets stack in paint order (last child on top)

Bottom
Middle
Top
z-index 0
z-index 1
z-index 2
Stack(
children: [Bottom, Middle, Top],
)