Loading topic
StatelessWidget, the build method, and a working Flutter project. The focus is Flutter’s layout contract: constraints go down, sizes go up, and parents decide where children are placed.2 min readStatelessWidget, and can run a Flutter app. This chapter focuses on the two most common Flutter layout widgets: Row and Column.2 min readStatelessWidget, and the build method. You should also have a Flutter project that can run on a device or emulator.2 min readStatelessWidget, and the build method. This chapter focuses on how Row and Column position their children after sizing them.2 min readStatelessWidget, and the build method. It focuses on MainAxisSize, which controls whether a Row or Column takes all available space or only the space its children need.2 min readStatelessWidget, and the build method. This chapter focuses on spacing inside a Flutter layout. Spacing changes position and size, but it does not add visible content.1 min readStatelessWidget, the build method, and a working Flutter project. You should also understand that a Row lays out children horizontally and a Column lays them out vertically.2 min readStatelessWidget and build, and a working Flutter project. The examples focus on diagnosing layout errors rather than changing the visual design.2 min readStatelessWidget, and the build method. You also need a Flutter project that can run on a device or emulator.2 min readStatelessWidget, the build method, and the Stack widget. A Stack layers children in the same rectangular area. Positioned controls where a child sits inside that area.2 min readStatelessWidget, and the build method. This chapter focuses on how Stack chooses its size and places its children.2 min readStatelessWidget, and the build method. This chapter combines Row, Column, and Stack into one screen. The main idea is to give each part a clear job:2 min readStatelessWidget, the build method, and a working Flutter project. It also assumes you understand that a parent sends constraints to its child and the child returns a size.2 min readStatelessWidget, and build, and that you can run a Flutter app. DevTools helps you inspect the layout that Flutter actually produced, rather than guessing from the widget code.2 min read