Summary
In this chapter, you have had an introduction to building user interfaces in a Flutter app.
You have seen how to create immutable widgets and use them in your apps.
The chapter covered the use of the Scaffold
widget, which provides a basic structure for screens in your apps.
You have also used Containers, powerful widgets that provide several layout-related properties and effects.
You have used the Text
widget to print text on the screen, and seen how to customize the font, color, size, and other properties of the text.
You’ve seen how to import fonts and images into a Flutter app: in particular, you added and used Google fonts and displayed an image from the assets directory in your project.
Finally, you have seen how to describe onscreen content using the Semantics
widget: this can help to improve the accessibility of your app.
In general, you are now familiar with the basics of creating user interfaces. The skills that you have acquired...