setAnimationLoop method

void setAnimationLoop(
  1. dynamic callback
)

Implementation

void setAnimationLoop(callback) {
  animationLoop = callback;
}