CrosshairBehavior constructor

CrosshairBehavior({
  1. ActivationMode activationMode = ActivationMode.longPress,
  2. CrosshairLineType lineType = CrosshairLineType.both,
  3. List<double>? lineDashArray,
  4. bool enable = false,
  5. Color? lineColor,
  6. double lineWidth = 1,
  7. bool shouldAlwaysShow = false,
  8. double hideDelay = 0,
})

Creating an argument constructor of CrosshairBehavior class.

Implementation

CrosshairBehavior({
  this.activationMode = ActivationMode.longPress,
  this.lineType = CrosshairLineType.both,
  this.lineDashArray,
  this.enable = false,
  this.lineColor,
  this.lineWidth = 1,
  this.shouldAlwaysShow = false,
  this.hideDelay = 0,
});