unmount method
void
unmount()
Removes this element and its descendants from the tree permanently.
Implementation
void unmount() {
_unregisterGlobalKey();
_dropAllDependencies();
mounted = false;
for (final c in children) {
c.unmount();
}
children.clear();
}