PerformanceOverlay constructor

const PerformanceOverlay({Key key, int optionsMask: 0, int rasterizerThreshold: 0, bool checkerboardRasterCacheImages: false, 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.


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