childAdded method

  1. @override
void childAdded(
  1. Component child
)
override

Implementation

@override
void childAdded(Component child) {
  super.childAdded(child);
  switch (child.coreType) {
    case NestedRemapAnimationBase.typeKey:
    case NestedSimpleAnimationBase.typeKey:
    case NestedStateMachineBase.typeKey:
      _animations.add(child as NestedAnimation);
      break;
  }
}