In this chapter, let us discuss the architecture of the Flutter framework.   Widgets   The core concept of the Flutter framework is  In Flutter, Everything is a widget . Widgets are basically user interface components used to create the user interface of the application.   In  Flutter , the application is itself a widget. The application is the top- level widget and its UI is build using one or more children (widgets), which again build using its children widgets. This  composability  feature helps us to create a user interface of any complexity.   For example, the widget hierarchy of the hello world application (created in previous chapter) is as specified in the following diagram −    Here the following points are worth notable −    MyApp  is the user created widget and it is build using the Flutter native widget,  MaterialApp .    MaterialApp  has a home property to specify the user interface of the home page, which is again a user created widget,...
 
Comments