debugView property

DebugView? get debugView

A surface debug view for this subtree, overriding the scene's Scene.debug.view. Null (the default) inherits from the nearest ancestor that sets one, then the scene. DebugView.none excludes the subtree from an active scene view, so it shades normally.

Implementation

DebugView? get debugView => _debugView;
set debugView (DebugView? value)

Implementation

set debugView(DebugView? value) {
  if (identical(_debugView, value)) return;
  if ((_debugView == null) != (value == null)) {
    _debugViewOverrideCount += value == null ? -1 : 1;
  }
  _debugView = value;
}