fps property

double fps

Get the current average FPS over the last windowSize frames.

Implementation

double get fps {
  return window.isEmpty ? 0 : window.length / _sum;
}