Duration currentFrameTimeStamp

The time stamp for the frame currently being processed.

This is only valid while handleBeginFrame is running, i.e. while a frame is being produced.

Source

// TODO(ianh): Replace this when fixing https://github.com/flutter/flutter/issues/5469
Duration get currentFrameTimeStamp {
  assert(_currentFrameTimeStamp != null);
  return _currentFrameTimeStamp;
}