1. What is initState ? Junior A. the State callback fired after initState and whenever an inherited dependency this object relies on changes B. the State callback invoked when the parent rebuilds with a new configuration of the same type C. the State callback run when the object is permanently removed, used to release controllers and listeners D. the State callback run once when the object is inserted, ideal for one-time setup like subscriptions Reveal the answer + AI explanation — free account
2. Which term means: "the State callback run once when the object is inserted, ideal for one-time setup like subscriptions"? Junior A. dispose B. didUpdateWidget C. initState D. didChangeDependencies Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. initState — the State callback run once when the object is inserted, ideal for one-time setup like subscriptions B. initState — the State callback fired after initState and whenever an inherited dependency this object relies on changes C. initState — the State callback invoked when the parent rebuilds with a new configuration of the same type D. initState — the State callback run when the object is permanently removed, used to release controllers and listeners Reveal the answer + AI explanation — free account
4. What is dispose ? Junior A. the State callback invoked when the parent rebuilds with a new configuration of the same type B. the State callback fired after initState and whenever an inherited dependency this object relies on changes C. the State callback run when the object is permanently removed, used to release controllers and listeners D. the State callback run once when the object is inserted, ideal for one-time setup like subscriptions Reveal the answer + AI explanation — free account
5. Which term means: "the State callback run when the object is permanently removed, used to release controllers and listeners"? Junior A. didChangeDependencies B. dispose C. didUpdateWidget D. initState Reveal the answer + AI explanation — free account
6. Which statement is correct? Junior A. dispose — the State callback invoked when the parent rebuilds with a new configuration of the same type B. dispose — the State callback run when the object is permanently removed, used to release controllers and listeners C. dispose — the State callback run once when the object is inserted, ideal for one-time setup like subscriptions D. dispose — the State callback fired after initState and whenever an inherited dependency this object relies on changes Reveal the answer + AI explanation — free account
7. What is didUpdateWidget ? Mid A. the State callback invoked when the parent rebuilds with a new configuration of the same type B. the State callback run when the object is permanently removed, used to release controllers and listeners C. the State callback run once when the object is inserted, ideal for one-time setup like subscriptions D. the State callback fired after initState and whenever an inherited dependency this object relies on changes Reveal the answer + AI explanation — free account
8. Which term means: "the State callback invoked when the parent rebuilds with a new configuration of the same type"? Mid A. didChangeDependencies B. initState C. dispose D. didUpdateWidget Reveal the answer + AI explanation — free account
9. Which statement is correct? Mid A. didUpdateWidget — the State callback invoked when the parent rebuilds with a new configuration of the same type B. didUpdateWidget — the State callback fired after initState and whenever an inherited dependency this object relies on changes C. didUpdateWidget — the State callback run once when the object is inserted, ideal for one-time setup like subscriptions D. didUpdateWidget — the State callback run when the object is permanently removed, used to release controllers and listeners Reveal the answer + AI explanation — free account
10. What is didChangeDependencies ? Mid A. the State callback run once when the object is inserted, ideal for one-time setup like subscriptions B. the State callback invoked when the parent rebuilds with a new configuration of the same type C. the State callback run when the object is permanently removed, used to release controllers and listeners D. the State callback fired after initState and whenever an inherited dependency this object relies on changes Reveal the answer + AI explanation — free account
11. Which term means: "the State callback fired after initState and whenever an inherited dependency this object relies on changes"? Mid A. initState B. dispose C. didChangeDependencies D. didUpdateWidget Reveal the answer + AI explanation — free account
12. Which statement is correct? Mid A. didChangeDependencies — the State callback run once when the object is inserted, ideal for one-time setup like subscriptions B. didChangeDependencies — the State callback fired after initState and whenever an inherited dependency this object relies on changes C. didChangeDependencies — the State callback run when the object is permanently removed, used to release controllers and listeners D. didChangeDependencies — the State callback invoked when the parent rebuilds with a new configuration of the same type Reveal the answer + AI explanation — free account