Function Widget.removeAllChildren

void removeAllChildren(
  bool destroyObj = true
);