removeSlotElement method

void removeSlotElement(
  1. Object? slot
)

Implementation

void removeSlotElement(Object? slot) {
  final element = this.element;
  if (element == null) return;
  elements.remove(slot)?.pipe(element.deactivateChild);
  widgets.remove(slot);
}