currentFps property
double
get
currentFps
Current FPS based on the last frame time. Returns 0.0 when the application is idle (no real frames within the timeout window).
Implementation
double get currentFps {
if (_isIdle) return 0.0;
final ft = lastFrameTime;
if (ft.inMicroseconds == 0) return 0.0;
return 1000000.0 / ft.inMicroseconds;
}