fps property

double get fps

Get the current average FPS over the last windowSize frames.

Implementation

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