Widgets interview questions

18 Widgets questions from the Flutter bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is StatelessWidget?

Junior
  1. A.a widget with no mutable state that rebuilds only when its parent passes new configuration
  2. B.the immutable, declarative description of the UI formed by nesting configuration objects from a root down to leaves
  3. C.a handle to a widget's location in the tree, used to look up ancestors, theme, media query, and inherited data
  4. D.a helper that supplies a fresh descendant context inside a callback so lookups resolve below the current node

Answer + AI explanation with Pro

2. Which term means: "a widget with no mutable state that rebuilds only when its parent passes new configuration"?

Junior
  1. A.Builder
  2. B.the widget tree
  3. C.StatefulWidget
  4. D.StatelessWidget

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.StatelessWidget — a widget that pairs with a State object so it can hold mutable data and rebuild over its lifetime
  2. B.StatelessWidget — the long-lived companion to a stateful widget that survives rebuilds and exposes initState, build, and dispose
  3. C.StatelessWidget — a widget with no mutable state that rebuilds only when its parent passes new configuration
  4. D.StatelessWidget — a handle to a widget's location in the tree, used to look up ancestors, theme, media query, and inherited data

Answer + AI explanation with Pro

4. What is StatefulWidget?

Junior
  1. A.a helper that supplies a fresh descendant context inside a callback so lookups resolve below the current node
  2. B.a widget that pairs with a State object so it can hold mutable data and rebuild over its lifetime
  3. C.a widget with no mutable state that rebuilds only when its parent passes new configuration
  4. D.a handle to a widget's location in the tree, used to look up ancestors, theme, media query, and inherited data

Answer + AI explanation with Pro

5. Which term means: "a widget that pairs with a State object so it can hold mutable data and rebuild over its lifetime"?

Junior
  1. A.Builder
  2. B.State object
  3. C.the widget tree
  4. D.StatefulWidget

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.StatefulWidget — the long-lived companion to a stateful widget that survives rebuilds and exposes initState, build, and dispose
  2. B.StatefulWidget — a widget with no mutable state that rebuilds only when its parent passes new configuration
  3. C.StatefulWidget — a helper that supplies a fresh descendant context inside a callback so lookups resolve below the current node
  4. D.StatefulWidget — a widget that pairs with a State object so it can hold mutable data and rebuild over its lifetime

Answer + AI explanation with Pro

7. What is the widget tree?

Mid
  1. A.the immutable, declarative description of the UI formed by nesting configuration objects from a root down to leaves
  2. B.the long-lived companion to a stateful widget that survives rebuilds and exposes initState, build, and dispose
  3. C.a widget with no mutable state that rebuilds only when its parent passes new configuration
  4. D.a helper that supplies a fresh descendant context inside a callback so lookups resolve below the current node

Answer + AI explanation with Pro

8. Which term means: "the immutable, declarative description of the UI formed by nesting configuration objects from a root down to leaves"?

Mid
  1. A.StatelessWidget
  2. B.Builder
  3. C.the widget tree
  4. D.StatefulWidget

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. A.the widget tree — a widget with no mutable state that rebuilds only when its parent passes new configuration
  2. B.the widget tree — a helper that supplies a fresh descendant context inside a callback so lookups resolve below the current node
  3. C.the widget tree — a handle to a widget's location in the tree, used to look up ancestors, theme, media query, and inherited data
  4. D.the widget tree — the immutable, declarative description of the UI formed by nesting configuration objects from a root down to leaves

Answer + AI explanation with Pro

10. What is BuildContext?

Junior
  1. A.a widget with no mutable state that rebuilds only when its parent passes new configuration
  2. B.a helper that supplies a fresh descendant context inside a callback so lookups resolve below the current node
  3. C.a widget that pairs with a State object so it can hold mutable data and rebuild over its lifetime
  4. D.a handle to a widget's location in the tree, used to look up ancestors, theme, media query, and inherited data

Answer + AI explanation with Pro

11. Which term means: "a handle to a widget's location in the tree, used to look up ancestors, theme, media query, and inherited data"?

Junior
  1. A.BuildContext
  2. B.StatelessWidget
  3. C.Builder
  4. D.the widget tree

Answer + AI explanation with Pro

12. Which statement is correct?

Junior
  1. A.BuildContext — a handle to a widget's location in the tree, used to look up ancestors, theme, media query, and inherited data
  2. B.BuildContext — a widget that pairs with a State object so it can hold mutable data and rebuild over its lifetime
  3. C.BuildContext — the long-lived companion to a stateful widget that survives rebuilds and exposes initState, build, and dispose
  4. D.BuildContext — the immutable, declarative description of the UI formed by nesting configuration objects from a root down to leaves

Answer + AI explanation with Pro

13. What is Builder?

Mid
  1. A.a widget that pairs with a State object so it can hold mutable data and rebuild over its lifetime
  2. B.a widget with no mutable state that rebuilds only when its parent passes new configuration
  3. C.a helper that supplies a fresh descendant context inside a callback so lookups resolve below the current node
  4. D.a handle to a widget's location in the tree, used to look up ancestors, theme, media query, and inherited data

Answer + AI explanation with Pro

14. Which term means: "a helper that supplies a fresh descendant context inside a callback so lookups resolve below the current node"?

Mid
  1. A.StatelessWidget
  2. B.the widget tree
  3. C.StatefulWidget
  4. D.Builder

Answer + AI explanation with Pro

15. Which statement is correct?

Mid
  1. A.Builder — a helper that supplies a fresh descendant context inside a callback so lookups resolve below the current node
  2. B.Builder — the immutable, declarative description of the UI formed by nesting configuration objects from a root down to leaves
  3. C.Builder — a widget with no mutable state that rebuilds only when its parent passes new configuration
  4. D.Builder — a widget that pairs with a State object so it can hold mutable data and rebuild over its lifetime

Answer + AI explanation with Pro

16. What is State object?

Mid
  1. A.the immutable, declarative description of the UI formed by nesting configuration objects from a root down to leaves
  2. B.the long-lived companion to a stateful widget that survives rebuilds and exposes initState, build, and dispose
  3. C.a widget with no mutable state that rebuilds only when its parent passes new configuration
  4. D.a helper that supplies a fresh descendant context inside a callback so lookups resolve below the current node

Answer + AI explanation with Pro

17. Which term means: "the long-lived companion to a stateful widget that survives rebuilds and exposes initState, build, and dispose"?

Mid
  1. A.State object
  2. B.Builder
  3. C.StatefulWidget
  4. D.the widget tree

Answer + AI explanation with Pro

18. Which statement is correct?

Mid
  1. A.State object — a handle to a widget's location in the tree, used to look up ancestors, theme, media query, and inherited data
  2. B.State object — the long-lived companion to a stateful widget that survives rebuilds and exposes initState, build, and dispose
  3. C.State object — a widget that pairs with a State object so it can hold mutable data and rebuild over its lifetime
  4. D.State object — a helper that supplies a fresh descendant context inside a callback so lookups resolve below the current node

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Widgets question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers