LineAnnotationSegment<D> constructor

LineAnnotationSegment<D>(
  1. D value,
  2. RangeAnnotationAxisType axisType, {
  3. String? axisId,
  4. Color? color,
  5. String? startLabel,
  6. String? endLabel,
  7. String? middleLabel,
  8. AnnotationLabelAnchor? labelAnchor,
  9. AnnotationLabelDirection? labelDirection,
  10. AnnotationLabelPosition? labelPosition,
  11. TextStyleSpec? labelStyleSpec,
  12. List<int>? dashPattern,
  13. 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,
      );