disposeLifecycle method
Disposes of any resources held by this object.
This should be called when the object is no longer needed to clean up any resources and prevent memory leaks.
Implementation
@override
void disposeLifecycle() {
if (debugLabel != null) {
raiiTrace('[RAII] Dispose lifecycle: $debugLabel');
}
widgetsBinding.removeObserver(observer);
super.disposeLifecycle();
}