DebugDetector constructor

const DebugDetector({
  1. Key? key,
  2. void onDetect()?,
  3. Duration? delay,
  4. double? acceptSlopTolerance,
  5. int pointers = 2,
  6. bool useHapticFeedback = true,
  7. List<ShortcutActivator> shortcuts = const [SingleActivator(LogicalKeyboardKey.f12, alt: true)],
  8. required Widget child,
})

Implementation

const DebugDetector({
  super.key,
  this.onDetect,
  this.delay,
  this.acceptSlopTolerance,
  this.pointers = 2,
  this.useHapticFeedback = true,
  this.shortcuts = const [
    SingleActivator(LogicalKeyboardKey.f12, alt: true),
  ],
  required this.child,
});