Recall & Review
beginner
What is a widget in Flutter?
A widget is a basic building block of a Flutter app's user interface. It describes what the UI should look like and how it behaves.
Click to reveal answer
beginner
Why does Flutter use widgets for everything?
Flutter uses widgets for everything to keep the UI consistent and flexible. Widgets can be combined and customized easily, making the app design simple and powerful.
Click to reveal answer
intermediate
How do widgets help with UI updates in Flutter?
Widgets are immutable, so when the UI changes, Flutter rebuilds only the widgets that need updating, making the app fast and efficient.
Click to reveal answer
beginner
What kinds of things are widgets in Flutter?
In Flutter, everything is a widget: buttons, text, images, layout structures, even the app itself. This uniformity simplifies building and understanding the UI.
Click to reveal answer
beginner
How does the widget system relate to real-life building blocks?
Just like building blocks can be stacked and combined to create complex structures, Flutter widgets can be combined to build complex user interfaces.
Click to reveal answer
In Flutter, what is the role of a widget?
✗ Incorrect
Widgets describe what the UI looks like and how it behaves in Flutter.
Why are widgets immutable in Flutter?
✗ Incorrect
Immutability helps Flutter rebuild only the widgets that need updating, improving performance.
Which of these is NOT a widget in Flutter?
✗ Incorrect
Database is not a widget; widgets are UI elements like Text, Button, and Image.
How does Flutter’s widget system help developers?
✗ Incorrect
Widgets provide a consistent and flexible way to build user interfaces.
What is a good real-life analogy for Flutter widgets?
✗ Incorrect
Widgets are like building blocks that combine to form complex UIs.
Explain why Flutter treats everything as a widget and how this design benefits app development.
Think about how using one type of building block simplifies creating and changing the UI.
You got /4 concepts.
Describe how immutability of widgets affects the performance and behavior of a Flutter app.
Consider why rebuilding only parts of the UI is faster than redrawing everything.
You got /4 concepts.