currentFrameTimeStamp property

Duration get currentFrameTimeStamp

The time stamp for the frame currently being processed.

This is only valid while between the start of handleBeginFrame and the end of the corresponding handleDrawFrame, i.e. while a frame is being produced.

Implementation

Duration get currentFrameTimeStamp {
  assert(_currentFrameTimeStamp != null);
  return _currentFrameTimeStamp!;
}