Summary
In this chapter, you looked at the different types of widgets, such as stateless, stateful, and inherited, which are classes that inherit from the built-in widget type of classes. You examined the differences between the types, when to use each type, and how to make use of the features of each type.
Next, you explored the built-in widgets that are available as part of the Flutter framework, including the base display widgets and user interaction widgets that allow you to show information and react to user interactions.
Finally, we looked at the layout widgets, all the way from the basic Container
widget up to the much more feature-rich layouts of ListView
and GridView
. Learning how to combine these layout widgets will be fundamental to how you design your apps.
You should now have a better understanding of how Flutter apps are put together; however, as you can imagine, there’s still a lot to explore. In the next chapter, we will take a further look at how users...