DebugGate constructor

const DebugGate({
  1. required int tapCount,
  2. required Duration tapInterval,
  3. required Widget child,
  4. required Widget debugMenuBuilder(
    1. BuildContext
    ),
  5. bool? enable,
  6. Key? key,
})

This widget shows the screen debugMenuBuilder builds when the user taps the screen tapCount in tapInterval.

This widget shows the specified menu on debug mode (debug build) except enable is specified.

Implementation

const DebugGate({
  required this.tapCount,
  required this.tapInterval,
  required this.child,
  required this.debugMenuBuilder,
  this.enable,
  Key? key,
}) : super(key: key);