animationFrame function

Future<num> animationFrame ()

On the web, returns a Future that completes just before the window is about to repaint so the user can draw an animation frame. Outside of the web, returns a Future that completes in the next event-loop iteration.

Implementation

Future<num> animationFrame() => internal.animationFrame();