handleLifecycleEventMove method
Implementation
@internal
LifecycleEventStatus handleLifecycleEventMove(Component newParent) {
if (_parent != null) {
_remove();
}
if (newParent.isMounted) {
_parent = newParent;
_mount();
} else {
newParent.add(this);
}
return LifecycleEventStatus.done;
}