PerformanceOverlay constructor Null safety

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

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({
  Key? key,
  this.optionsMask = 0,
  this.rasterizerThreshold = 0,
  this.checkerboardRasterCacheImages = false,
  this.checkerboardOffscreenLayers = false,
}) : super(key: key);