RequestAnimationFrame typedef

RequestAnimationFrame = Future<num> Function()

A callback that returns a future that completes in the next animation frame.

Implementation

typedef RequestAnimationFrame = Future<num> Function();