getFps static method

double? getFps([
  1. BuildContext? context
])

获取当前视图所在显示器的 fps 帧率

Implementation

static double? getFps([BuildContext? context]) =>
    getCurrentView(context)?.display.refreshRate;