1. override
void addChild(Bitmap child)

Source

@override
void addChild(Bitmap child) {
  if (child.parent == this) {
    _addLocalChild(child);
  } else {
    child.removeFromParent();
    _children.add(child);
    child._parent = this;
  }
}