DevGesture constructor

const DevGesture({
  1. Key? key,
  2. required Widget child,
  3. required DevGestureCallback onTriggered,
  4. int tapCount = 5,
  5. Duration timeout = const Duration(seconds: 3),
  6. List<DevTriggerZone> triggerZones = const [DevTriggerZone.bottomRight],
  7. Size tapAreaSize = const Size(60, 60),
  8. bool showDebugBadge = true,
})

Implementation

const DevGesture({
  super.key,
  required this.child,
  required this.onTriggered,
  this.tapCount = 5,
  this.timeout = const Duration(seconds: 3),
  this.triggerZones = const [DevTriggerZone.bottomRight],
  this.tapAreaSize = const Size(60, 60),
  this.showDebugBadge = true,
});