CockpitInteractionCaptureDefaults constructor

const CockpitInteractionCaptureDefaults({
  1. double tapSlopPx = 8.0,
  2. int longPressMs = 500,
  3. double scrollMinPx = 8.0,
  4. int settleQuietWindowMs = 300,
  5. int settleTimeoutMs = 5000,
})

Creates capture thresholds.

Implementation

const CockpitInteractionCaptureDefaults({
  this.tapSlopPx = 8.0,
  this.longPressMs = 500,
  this.scrollMinPx = 8.0,
  this.settleQuietWindowMs = 300,
  this.settleTimeoutMs = 5000,
});