AnimationFrameCallback typedef

AnimationFrameCallback = void Function(Duration timestamp)

Receives the high-resolution timestamp for a browser animation frame.

Implementation

typedef AnimationFrameCallback = void Function(Duration timestamp);