PerformanceOverlayLayer constructor Null safety

PerformanceOverlayLayer(
  1. {required Rect overlayRect,
  2. required int optionsMask,
  3. required int rasterizerThreshold,
  4. required bool checkerboardRasterCacheImages,
  5. 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;