canBeOrphaned property

bool get canBeOrphaned
inherited

Override to true if you want some object inheriting from Component to not have a parent. Most objects will validate that they have a parent during the onAdded callback otherwise they are considered invalid and are culled from core.

Implementation

bool get canBeOrphaned => false;