PerformanceOverlayLayer constructor

PerformanceOverlayLayer({@required Rect overlayRect, @required int optionsMask, @required int rasterizerThreshold, @required bool checkerboardRasterCacheImages, @required bool checkerboardOffscreenLayers })

Creates a layer that displays a performance overlay.

Implementation

PerformanceOverlayLayer({
  @required Rect overlayRect,
  @required this.optionsMask,
  @required this.rasterizerThreshold,
  @required this.checkerboardRasterCacheImages,
  @required this.checkerboardOffscreenLayers,
}) : _overlayRect = overlayRect;