handlePointIncrease method

  1. @override
void handlePointIncrease(
  1. double pointOffset
)
override

Implementation

@override
void handlePointIncrease(double pointOffset) {
  if (nextAliveControllerEntry != null) {
    while (nextAliveControllerEntry!.triggerValue <= pointOffset) {
      if (nextAliveControllerEntry!.controller.status !=
              AnimationStatus.forward &&
          nextAliveControllerEntry!.controller.status !=
              AnimationStatus.completed) {
        nextAliveControllerEntry!.controller.forward();
        notifier?.value = nextAliveControllerEntry;
      }
      nextAliveControllerEntry = nextAliveControllerEntry?.next;
      if (nextAliveControllerEntry == null) {
        break;
      }
    }
  } else {
    //走到这里 则是所有动画都放映完毕
    return;
  }
}