acceptsChild method

bool acceptsChild(
  1. WidgetData widget
)

Implementation

bool acceptsChild(WidgetData widget) {
  return !isParentOf(widget, this);
}