unmount method
Removes this element and disposes of the state.
Implementation
@override
/// Removes this element and disposes of the state.
void unmount() {
state.dispose();
state._context = null;
childElement?.unmount();
super.unmount();
}
Removes this element and disposes of the state.
@override
/// Removes this element and disposes of the state.
void unmount() {
state.dispose();
state._context = null;
childElement?.unmount();
super.unmount();
}