onFinishFrame method

void onFinishFrame(
  1. int currentPaintedPathIndex
)

Implementation

void onFinishFrame(int currentPaintedPathIndex) {
  if (newPathPainted(currentPaintedPathIndex)) {
    evokeOnPaintForNewlyPaintedPaths(currentPaintedPathIndex);
  }
  if (this.controller.status == AnimationStatus.completed) {
    this.onFinishAnimation();
  }
}