unmount method
Removes this element from the tree.
Implementation
@override
void unmount() {
final w = widget as ElementWidget;
w.internalElement?.unmount();
w.internalElement = null;
super.unmount();
}
Removes this element from the tree.
@override
void unmount() {
final w = widget as ElementWidget;
w.internalElement?.unmount();
w.internalElement = null;
super.unmount();
}