PerformanceOverlay constructor Null safety

const PerformanceOverlay(
  1. {Key? key,
  2. int optionsMask = 0,
  3. int rasterizerThreshold = 0,
  4. bool checkerboardRasterCacheImages = false,
  5. bool checkerboardOffscreenLayers = false}
)

Create a performance overlay that only displays specific statistics. The mask is created by shifting 1 by the index of the specific PerformanceOverlayOption to enable.

Implementation

const PerformanceOverlay({
  super.key,
  this.optionsMask = 0,
  this.rasterizerThreshold = 0,
  this.checkerboardRasterCacheImages = false,
  this.checkerboardOffscreenLayers = false,
});