LineAnnotationSegment<D> constructor
LineAnnotationSegment<D> (
- D value,
- RangeAnnotationAxisType axisType, {
- String? axisId,
- Color? color,
- String? startLabel,
- String? endLabel,
- String? middleLabel,
- AnnotationLabelAnchor? labelAnchor,
- AnnotationLabelDirection? labelDirection,
- AnnotationLabelPosition? labelPosition,
- TextStyleSpec? labelStyleSpec,
- List<
int> ? dashPattern, - double strokeWidthPx = _defaultStrokeWidthPx,
Implementation
LineAnnotationSegment(
this.value,
RangeAnnotationAxisType axisType, {
String? axisId,
Color? color,
String? startLabel,
String? endLabel,
String? middleLabel,
AnnotationLabelAnchor? labelAnchor,
AnnotationLabelDirection? labelDirection,
AnnotationLabelPosition? labelPosition,
TextStyleSpec? labelStyleSpec,
this.dashPattern,
this.strokeWidthPx = _defaultStrokeWidthPx,
}) : super(
axisType,
axisId: axisId,
color: color,
startLabel: startLabel,
endLabel: endLabel,
middleLabel: middleLabel,
labelAnchor: labelAnchor,
labelDirection: labelDirection,
labelPosition: labelPosition,
labelStyleSpec: labelStyleSpec,
);