What does runApp do in Flutter?

The runApp() function takes the given Widget and makes it the root of the widget tree . In this example, the widget tree consists of two widgets, the Center widget and its child, the Text widget. The framework forces the root widget to cover the screen, which means the text “Hello, world” ends up centered on screen.

Sizin İçin Seçtik  Is FDD LTE 4G?

Leave a Reply

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