enableOnDeviceInspector top-level property

ToggleableServiceExtension<bool> enableOnDeviceInspector
final

Toggle whether the inspector on-device overlay is enabled.

When available, the inspector overlay can be enabled at any time as it will not interfere with user interaction with the app unless inspector select mode is triggered.

Implementation

final enableOnDeviceInspector = ToggleableServiceExtension<bool>(
  extension: '$inspectorExtensionPrefix.enable',
  enabledValue: true,
  disabledValue: false,
);