getTextConfigFps method

TextPaint getTextConfigFps(
  1. double fps
)

Implementation

TextPaint getTextConfigFps(double fps) {
  if (fps >= 58) {
    return textConfigGreen;
  }

  if (fps >= 48) {
    return textConfigYellow;
  }

  return textConfigRed;
}