removeFromParent method
void
removeFromParent()
Remove the component from its parent in the next tick.
Implementation
void removeFromParent() => _parent?._removeChild(this);
Remove the component from its parent in the next tick.
void removeFromParent() => _parent?._removeChild(this);