toggleOnDeviceWidgetInspector top-level property

ToggleableServiceExtension<bool> toggleOnDeviceWidgetInspector
final

Implementation

final toggleOnDeviceWidgetInspector = ToggleableServiceExtension<bool>(
  extension:
      '$inspectorExtensionPrefix.${WidgetInspectorServiceExtensions.show.name}',
  // Technically this enables the on-device widget inspector but for older
  // versions of package:flutter it makes sense to describe this extension as
  // toggling widget select mode as it is the only way to toggle that mode.
  enabledValue: true,
  disabledValue: false,
);