CrosshairBehavior constructor
CrosshairBehavior({
- ActivationMode activationMode = ActivationMode.longPress,
- CrosshairLineType lineType = CrosshairLineType.both,
- List<
double> ? lineDashArray, - bool enable = false,
- Color? lineColor,
- double lineWidth = 1,
- bool shouldAlwaysShow = false,
- 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,
});