handleLifecycleEventAdd method
- @internal
- Component parent
inherited
Implementation
@internal
LifecycleEventStatus handleLifecycleEventAdd(Component parent) {
assert(!isMounted);
if (parent.isMounted && isLoaded) {
_parent ??= parent;
_mount();
return LifecycleEventStatus.done;
} else {
if (parent.isMounted && !isLoading) {
_startLoading();
}
return LifecycleEventStatus.block;
}
}