PerformanceOverlay.allEnabled constructor

PerformanceOverlay.allEnabled({Key key, int rasterizerThreshold: 0, bool checkerboardRasterCacheImages: false, bool checkerboardOffscreenLayers: false })

Create a performance overlay that displays all available statistics

Implementation

PerformanceOverlay.allEnabled({ Key key,
                                this.rasterizerThreshold = 0,
                                this.checkerboardRasterCacheImages = false,
                                this.checkerboardOffscreenLayers = false })
  : optionsMask =
      1 << PerformanceOverlayOption.displayRasterizerStatistics.index |
      1 << PerformanceOverlayOption.visualizeRasterizerStatistics.index |
      1 << PerformanceOverlayOption.displayEngineStatistics.index |
      1 << PerformanceOverlayOption.visualizeEngineStatistics.index,
    super(key: key);