CockpitInteractionCapture constructor

const CockpitInteractionCapture({
  1. required CockpitInteractionRecorder recorder,
  2. required CockpitTargetRegistry registry,
  3. required Widget child,
  4. String? routeName,
  5. CockpitInteractionCaptureDefaults defaults = const CockpitInteractionCaptureDefaults(),
  6. Key? key,
})

Creates a capture layer. registry resolves hits to registered targets; routeName participates in routeChange detection and stamps recorded steps.

Implementation

const CockpitInteractionCapture({
  required this.recorder,
  required this.registry,
  required this.child,
  this.routeName,
  this.defaults = const CockpitInteractionCaptureDefaults(),
  super.key,
});