GKDebugOverlay constructor

const GKDebugOverlay({
  1. Key? key,
  2. required Widget child,
  3. bool showFps = true,
  4. bool showUniforms = false,
  5. bool showMemory = false,
})

Creates a GKDebugOverlay.

child is the widget tree to overlay. showFps enables the FPS counter (default true). showUniforms shows current uniform values if a GKWidget is found (default false). showMemory shows Dart heap memory usage (default false).

Implementation

const GKDebugOverlay({
  super.key,
  required this.child,
  this.showFps = true,
  this.showUniforms = false,
  this.showMemory = false,
});