handleLifecycleEventRemove method

  1. @internal
LifecycleEventStatus handleLifecycleEventRemove(
  1. Component parent
)
inherited

Implementation

@internal
LifecycleEventStatus handleLifecycleEventRemove(Component parent) {
  if (_parent == null) {
    parent._children?.remove(this);
  } else {
    _remove();
    assert(_parent == null);
  }
  return LifecycleEventStatus.done;
}