unmount method
Removes this element from the tree.
Implementation
@override
void unmount() {
final panel = widget as TabPanel;
panel.controller.removeListener(panel._handleTabChange);
panel.controller.removeListener(_onControllerChanged);
_activeChildElement?.unmount();
_activeChildElement = null;
super.unmount();
}