RangeAnnotation<D> constructor

RangeAnnotation<D>(
  1. List<AnnotationSegment<Object>> annotations, {
  2. Color? defaultColor,
  3. AnnotationLabelAnchor? defaultLabelAnchor,
  4. AnnotationLabelDirection? defaultLabelDirection,
  5. AnnotationLabelPosition? defaultLabelPosition,
  6. TextStyleSpec? defaultLabelStyleSpec,
  7. bool? extendAxis,
  8. int? labelPadding,
  9. int? layoutPaintOrder,
})

Implementation

RangeAnnotation(
  this.annotations, {
  common.Color? defaultColor,
  this.defaultLabelAnchor,
  this.defaultLabelDirection,
  this.defaultLabelPosition,
  this.defaultLabelStyleSpec,
  this.extendAxis,
  this.labelPadding,
  this.layoutPaintOrder,
}) : defaultColor = defaultColor ?? common.MaterialPalette.gray.shade100;