Beginner Flutter
Q31 / 100

What does the Stack widget do in Flutter?

Correct! Well done.

Incorrect.

The correct answer is B) Lays out its children on top of each other along the z-axis

B

Correct Answer

Lays out its children on top of each other along the z-axis

Explanation

Stack allows you to overlay widgets on top of each other. Children can be positioned using Positioned widget. The last child in the children list appears on top. Useful for overlays, badges, and floating elements.

Progress
31/100