CockpitInteractionCapture constructor
const
CockpitInteractionCapture({
- required CockpitInteractionRecorder recorder,
- required CockpitTargetRegistry registry,
- required Widget child,
- String? routeName,
- CockpitInteractionCaptureDefaults defaults = const CockpitInteractionCaptureDefaults(),
- 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,
});