Advanced
Flutter
Q88 / 100
What is the WidgetsBindingObserver mixin used for in Flutter?
Correct! Well done.
Incorrect.
The correct answer is B) Receiving app lifecycle events (paused/resumed/inactive/detached), system theme changes, and memory pressure notifications
B
Correct Answer
Receiving app lifecycle events (paused/resumed/inactive/detached), system theme changes, and memory pressure notifications
Explanation
WidgetsBindingObserver receives lifecycle notifications (didChangeAppLifecycleState), theme/locale changes (didChangePlatformBrightness, didChangeLocales), and low memory warnings (didHaveMemoryPressure). Register with WidgetsBinding.instance.addObserver(this).
Progress
88/100