Why do we use MaterialApp in Flutter?

It gives the constraints to the widget to fit into the screen . It makes the given widget the root widget of the app and other widgets as the child of it. Here we have used the MaterialApp as a root widget in which we have defined the other widgets.24 Kas 2020

Sizin İçin Seçtik  How do you give icons on flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *

Why do we use MaterialApp in Flutter?

It gives the constraints to the widget to fit into the screen . It makes the given widget the root widget of the app and other widgets as the child of it. Here we have used the MaterialApp as a root widget in which we have defined the other widgets.24 Kas 2020

Sizin İçin Seçtik  Why there is three types of button in material design?

Leave a Reply

Your email address will not be published. Required fields are marked *