From the course: Flutter Essential Training: Build for Multiple Platforms

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Placements and alignments

Placements and alignments

- [Instructor] Design is synonymous to alignments, structuring, and organization. Basically placing the UI elements in the correct order, in the right position, and alignment can make the UI look more pleasing to the users. Now this may be a little straightforward via the design tools, but when you try to do this via code, it can get a little complicated in a lot of languages. But fortunately, Flutter handles it pretty well. Now, like you see the app here, we have the login page opened, and we have some elements placed one after another in the vertical axis. Now, when you have these kind of children of competence placed like this, you may have to, or you may need to align them in a certain way, like aligning all the children to the center, or left, or right. Like by the original design, we want to align the text and the image to the center of the device right here at the center. Let's go to your code and let's try this…

Contents