currentFps property

double get currentFps

Current FPS based on the last frame time.

Implementation

double get currentFps {
  final ft = lastFrameTime;
  if (ft.inMicroseconds == 0) return 0.0;
  return 1000000.0 / ft.inMicroseconds;
}