A callback that returns a future that completes in the next animation frame.
typedef RequestAnimationFrame = Future<num> Function();