Beginner
Flutter
Q34 / 100
What does runApp() do in Flutter?
Correct! Well done.
Incorrect.
The correct answer is B) It inflates the given widget and attaches it to the screen, starting the Flutter engine
B
Correct Answer
It inflates the given widget and attaches it to the screen, starting the Flutter engine
Explanation
runApp() takes the given Widget and makes it the root of the widget tree. It inflates the widget and attaches it to the screen. The widget's build() method is called to produce the initial UI.
Progress
34/100