Use the Positioned widget to position Flutter widgets in a Stack. Wrap the Stack’s children with a Positioned widget and set the parameters (top, bottom, left, right, height, and width) to achieve your desired Stack layout. You can also use Positioned.fill to make the widget fill the Stack’s space.
Positioned widget documentation →
More info on Flutter layout widgets →
This video is also subtitled in Chinese, Indonesian, Italian, French, German, Japanese, Korean, Portuguese, and Spanish.
Get more tips! →
Subscribe! →
0 Comments