This post is aimed to test your understanding on very basics of Flutter app development using most fundamental questions.
It covers some of the following Flutter topics:
- Basic understanding of widgets and elements
- Basic understanding of stateful and stateless widgets
Widgets are same as Elements
Widgets are blueprints of Elements. As widgets build method is called, the elements get created in the element tree after which widgets get built.
Stateless widgets are widgets with ___________ configuration
Stateful widgets can be built with stateless child widgets
Stateless widgets can be built with stateful widgets
Stateful widgets consists of ___________ and ___________
Stateful widgets comprises of both configuration and state. Build method is called within the instance of State class to build the widget.
It is the _________ tree which is displayed on the UI
Use the following type of widget when the state of the widget is immutable?
Which method is called within main method to build the widgets / elements tree?