dispose method
Equivalent of State.dispose for HookState.
Implementation
@override
void dispose() {
WidgetsBinding.instance.removeObserver(this);
super.dispose();
}
Equivalent of State.dispose for HookState.
@override
void dispose() {
WidgetsBinding.instance.removeObserver(this);
super.dispose();
}