What is a Widget in Flutter?
Why Interviewers Ask This
This question tests conceptual clarity. Interviewers want to hear a precise, confident definition before moving to more complex Flutter topics. It also reveals how well you can explain technical ideas to non-experts.
Answer
In Flutter, everything is a Widget. Widgets are the fundamental building blocks of the UI — they describe what the view should look like given the current configuration and state. From a simple Text label to complex screen layouts, gestures, and animations, everything is a widget. Flutter UIs are built by composing a tree of widgets together, each responsible for a small part of the display.
Common Mistake
Don't just define the term — demonstrate that you understand when to use it and when not to. Showing awareness of trade-offs is what separates average from strong Flutter candidates.
Previous
Which company developed Flutter?
Next
What is the difference between StatelessWidget and StatefulWidget?