addChild method

  1. @override
void addChild(
  1. Bitmap child
)
override

Implementation

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